PDA

View Full Version : .htaccess question


Ovidiu
13th March 2006, 12:22
this is ispcg related:

I am trying to use some script that need this .htaccess file:


DirectoryIndex index.php
Options -Indexes

<IfModule mod_php4.c>
php_value upload_max_filesize 15M
php_value post_max_size 15M
php_value short_open_tag 1
</IfModule>

RewriteEngine On
RewriteRule ^view/(.+)$ view.php [L,NC]


but I only get a 500 server error... if I delete the .htaccess file everythings fine.

I have disabled phpsafe mode for this website as it is requiered by the script, can anyone help with this .htaccess file?

falko
13th March 2006, 18:04
this is ispcg related:
Therefore I moved this thread to the ISPConfig forum... ;)


but I only get a 500 server error...Is there anything in the Apache error log?

Ovidiu
13th March 2006, 20:41
[Mon Mar 13 20:36:53 2006] [alert] [client 84.247.49.143] /var/www/web5/web/uploader/.htaccess: Options not allowed here


thats the error log excerpt when calling the script.
so how would I activate these options?

do I have to enter these extra apache directives in ispcfg panel or how can I get it running?

falko
13th March 2006, 23:30
Have a look here: http://www.howtoforge.com/forums/showthread.php?t=2750