Page 1 of 1

i get a .htaccess directory index error -

Posted: Sun Mar 13, 2005 10:24 pm
by verbatim
using phpdev.

i have read in the forums where some users may get that error if they're hosting on a remote server wo i would not have expected to experience this on my computer.

i read a post suggesting deletion of the following lines

htaccess
DirectoryIndex index.php
php_value session.use_trans_sid 0
php_value register_globals off

as they are not allowed on some hosts.


I also read :
garvinhicking wrote:Pay attention that if you remove the 'DirectoryIndex' directive and set your rewrite method to use Apache Errorhandling (for "pretty URLs") that it will no longer work if you remove it.

Jochen, please check if you set your rewriteMethod to "None". That is required to work on your host, if your .htaccess makes errors.

Regards,
Garvin.
and dont want to mess anything up.

Are those lines not allowed with phpdev5???

Posted: Sun Mar 13, 2005 11:31 pm
by verbatim
AFTER DEleting everything in .htaccess except # Begin s9y and # end s9y i am finally at the main blog screen.

hopefully there will be no adverse effects later as i am trying to configure a multi user blog where others can log in and post also.

Posted: Mon Mar 14, 2005 4:13 pm
by garvinhicking
As long as you'll use the "NONE" method for URL Rewriting, your .htaccess should be fine.

However it should suffice to remove the php_value* directives from .htaccess, and not everyting. :)

Regards,
Garvin