Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Schimbare adresa DNS IPv4 pe rout...

Recomandare Barebone

Monede JO 2024

Suprasolicitare sistem electric
 CIV auto import

Mutare in MOZAMBIC - pareri, expe...

Scoatere antifurt airtag de pe ha...

Magnet in loc de clește pent...
 Cumparat/Locuit in apartament si ...

Pot folosi sistemul PC pe post de...

Sokol cu distorsiuni de cross-over

Filtru apa potabila cu osmoza inv...
 Kanal D va difuza serialul “...

Upgrade xiaomi mi11

securitate - acum se dau drept - ...

Farmacia Dr Max - Pareri / Sugest...
 

ISPConfig and .htaccess

- - - - -
  • Please log in to reply
2 replies to this topic

#1
ionut89

ionut89

    New Member

  • Grup: Members
  • Posts: 4
  • Înscris: 15.10.2006
--------------------------------------------------------------------------------

Hello all.

I have Mandriva 2006 with ISPConfig 2.2.7. How cand i edit .htaccess so that my server to work right.

Ex: my site is in /var/www/web12/web
I allready have an .htaccess in /var/www/web12/web/stats - configured by ISPConfig 2.2.7.


My old .htaccess looks like this (which worked without any problemes before to install ISPConfig):

Options -Indexes
RewriteEngine on
RewriteBase /
RewriteRule ^magazin/categorii/([a-zA-Z0-9- _]+)/?$ magazin/index.php?x=categorii&cale=$1 [L]

If i copy my old .htaccess in /var/www/web12/web i get an Internal Server Error.

Thanks!

#2
alicumircea

alicumircea

    Member

  • Grup: Members
  • Posts: 476
  • Înscris: 11.06.2004
you do not have to upload your .htaccess file. As you can see in the following link, you must go in the web-ftp upload zone, select directory and in properties tab select the protect directory option... then you will be asked for an user and a password for directory.

http://www.ispconfig.org/downloads/manual_...n_src.htm#4_4_3

#3
cokebottle

cokebottle

    New Member

  • Grup: Members
  • Posts: 5
  • Înscris: 25.10.2006
you should write a php function also

Anunturi

Bun venit pe Forumul Softpedia!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate