Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page making index.php autoload
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 07-17-2007   #1 (permalink)
rudie_rage
Linux Newbie
 
rudie_rage's Avatar
 
Join Date: Jun 2007
Location: Canada
Posts: 133
Send a message via MSN to rudie_rage
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
rudie_rage is offline   Reply With Quote
Old 07-17-2007   #2 (permalink)
albertomsr
Just 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
albertomsr is offline   Reply With Quote
Old 07-17-2007   #3 (permalink)
rudie_rage
Linux Newbie
 
rudie_rage's Avatar
 
Join Date: Jun 2007
Location: Canada
Posts: 133
Send a message via MSN to rudie_rage
Quote:
Originally Posted by albertomsr View Post
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
Perfect! Thanks
__________________
Living the digital dream....
Disclaimer: I may be wrong since I was once before.
Breathe out so I can breathe you in ~~Everlong
rudie_rage is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing FFMPEG in Fedora Core release 4 (Stentz) balraj Redhat / Fedora Linux Help 0 07-10-2007 05:57 AM
Festival Screen Reader exploder Debian Linux Help 6 10-21-2005 02:32 AM
INSTALL PLPLOT-5.5.3 maxz Linux Applications 0 06-27-2005 12:11 AM
make problem with parted wout_vdh Redhat / Fedora Linux Help 2 06-08-2005 12:13 PM
libstdc++.so.4 jimlaflin Installation 18 06-15-2003 08:40 AM




All times are GMT. The time now is 09:02 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0