Jump to content

htaccess with existing login script?


techker

Recommended Posts

The default apache setting has:
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

When you install php you have to add index.php to the above list also.

The word DirectoryIndex - means index or home page (or the first page to be looked for in a directory). So basically with the htaccess file you are overriding the default and saying that the DirectoryIndex is login.php.

-steve

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.