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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-17-2007 #1
making index.php autoload
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 #2
- Join Date
- Jul 2007
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.
- 07-17-2007 #3