Apache+Redhat install, can't get Apache to work

sharkbitz

Member
Mar 20, 2000
130
0
0
http://209.208.83.17

That's the address of my system, it's pretty much a fresh install of redhat server install. If you try to go to that address, it give's you the forbidden page, and says you don't have permission to view "/", which is set to "/home/httpd/html" and the permissions are set correctly, as they are default.

Is anyone familiar with what's going on? If so, you will save me from my frustration.

Thanks in advance.
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
This is a basic virtual host section for your httpd.conf file:

<VirtualHost 209.208.83.17>
FancyIndexing on
<Directory /home/httpd/html>
Options Includes Indexes
AllowOverride Indexes
order allow,deny
allow from all
</directory>
ServerName 209.208.83.17
DocumentRoot /home/httpd/html
ServerPath /home/httpd
</virtualhost>

Save the changes, then killall -1 httpd to get the server to reread the config file.
 

sharkbitz

Member
Mar 20, 2000
130
0
0
Thanks for the input, we got it fixed. I had the sysadmin at work take a look at it, although it took him like 30min to fix it.

You were probably righ though, because here is all he did:

basically disabled this portion of httpd.conf

#<Files ~>
# Options Indexes
# AllowOverride AuthConfig FileInfo Indexes Limit Options
# Order allow,deny
# Deny from all
#</Files>


Thanks again for your input
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
I'm sure he did more than that. At a minimum he would have had to also change the Document Root and Server Path directives as well.
 

Wizkid

Platinum Member
Oct 11, 1999
2,728
0
0
Yeah, I can't see why commenting out those lines would help with your problem...
Oh well, the good thing is that it works :)
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
If what you said is true, would you be pissed if I &quot;hacked&quot; into your system?