Teen Programmers Unite  
 

 

Return to forum top

More Apache help needed

Posted by CodeRed [send private reply] at January 18, 2002, 05:24:32 PM

Now, when I access my server at chollman82.ath.cx I get the directory contents of the Root folder, how do I change it so that an html/php document is displayed instead?

Posted by Cobbs [send private reply] at January 18, 2002, 09:30:39 PM

put one named, index.html/index.php, you probably wanna switch which folder is used, but i dunno how to do that

Posted by CodeRed [send private reply] at January 19, 2002, 01:23:02 AM

okay thanks, it works

Posted by Psion [send private reply] at January 19, 2002, 08:58:17 AM

I don't think it would be appropriate to answer any more questions that show so blatant a disregard for the manual, or even ANY "getting started" tutorial on the subject....

Posted by gian [send private reply] at January 19, 2002, 04:25:43 PM

There is a server directive... read through the httpd.conf (and save a copy before you change anything!)

Posted by CodeRed [send private reply] at January 19, 2002, 06:38:13 PM

Psion, psion, psion.... If you refuse to answer questions about programming I fail to see the usefulness of this website

Posted by Psion [send private reply] at January 19, 2002, 06:40:47 PM

Setting up a web server to serve static HTML pages has nothing to do with programming, and telling it to display a dynamically generated page really isn't programming either.

Posted by DakeDesuDx [send private reply] at January 19, 2002, 07:31:45 PM

This is what gets posted while I could not look at the sidebar?

It says directly in the README that comes with PHP how to do this (last time I checked). Me, being the dumbass that I am, figured it out just by looking at the httpd.conf file (though not sure about CodeRed.... ;-).

Now here is a question? Did you do:
[user@host /www/bin]# ./httpd -f conf/<conf-file>
after you played around with the settings? (if I did not get the command right, I am pretty sure I am close. :p)

Posted by sphinX [send private reply] at January 27, 2002, 06:52:31 AM

CodeRed: you did edit your httpd.conf file, right? *sigh*....

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.