My server (Apache with mod_php4 under 8.0) doesn't recognise index.php as it recognises index.html. Instead it gives a directory listing. How can I fix this? Thanks, steve.
On Sat, 2002-10-12 at 17:55, steve wrote:
My server (Apache with mod_php4 under 8.0) doesn't recognise index.php as it recognises index.html. Instead it gives a directory listing. How can I fix this? Thanks, steve.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
look in /etc/httpd/httpd.conf
On Sunday 13 October 2002 00:08, R. R. wrote:
On Sat, 2002-10-12 at 17:55, steve wrote:
My server (Apache with mod_php4 under 8.0) doesn't recognise index.php as it recognises index.html. Instead it gives a directory listing. How can I fix this? Thanks, steve.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
look in /etc/httpd/httpd.conf
I'd always been so scared of that file! Here is the solution: <IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule> Then do a rcapache restart.
On Sat, 2002-10-12 at 18:17, steve wrote:
On Sunday 13 October 2002 00:08, R. R. wrote:
On Sat, 2002-10-12 at 17:55, steve wrote:
My server (Apache with mod_php4 under 8.0) doesn't recognise index.php as it recognises index.html. Instead it gives a directory listing. How can I fix this? Thanks, steve.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
look in /etc/httpd/httpd.conf
I'd always been so scared of that file! Here is the solution:
<IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule>
Then do a rcapache restart.
for some reason i always need to commend the if and leave the statement on its own
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 13 October 2002 00:30, you wrote:
On Sat, 2002-10-12 at 18:17, steve wrote:
On Sunday 13 October 2002 00:08, R. R. wrote:
On Sat, 2002-10-12 at 17:55, steve wrote:
My server (Apache with mod_php4 under 8.0) doesn't recognise index.php as it recognises index.html. Instead it gives a directory listing. How can I fix this? Thanks, steve.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
look in /etc/httpd/httpd.conf
I'd always been so scared of that file! Here is the solution:
<IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule>
Then do a rcapache restart.
for some reason i always need to commend the if and leave the statement on its own
Have I done it wrong? How *should* it read?
participants (2)
-
R. R.
-
steve