Results 1 to 3 of 3
hello, finally got my LAMP setup with slackware. getting apache to load php scripts instead of spitting out the source was a small challenge, but i got it done.
What ...
- 07-17-2007 #1
making index.php autoload
hello, finally got my LAMP setup with slackware. getting apache to load php scripts instead of spitting out the source was a small challenge, but i got it done.
What I have noticed is that index.php wont autoload like index.html does, even if there isnt an index.html in the directory.
how can i get index.php to load as soon as I type localhost? I'm assuming the option would be in my httpd.conf, but i looked through it with no luck. did i miss it?Living the digital dream....
Disclaimer: I may be wrong since I was once before.
Breathe out so I can breathe you in ~~Everlong
- 07-17-2007 #2Just Joined!
- Join Date
- Jul 2007
- Posts
- 3
Yes, you missed it.
There's a directive on httpd.conf containing:
DirectoryIndex index.html index.html.var index.php
Just add index.php there.
Alberto Ridolfi
- 07-17-2007 #3


Reply With Quote

