Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #16  
Old November 19th, 2003, 07:16 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

Chief,

Are you trying to reach that address from within your network? If your network is on the same IP address scheme and same netmask it should work, else that is a non routable IP address and cannot be reached from the real world unless it is behind a router and you build port routing tables with the router to allow outside traffic to get to it

Reply With Quote
  #17  
Old November 19th, 2003, 07:22 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: RE: redhat 9 apache problem

Quote:
on my apache on redhat all my files are siad there forrbidden but i can open them in a text editor but apache wont allow me to view my site. the apache test page worked.
Did you put the site in the same directory that has the test page? It will be something like...
/var/www/html

If it is not in the same directory you have to tell apache where the html doc will be. this is done in the httpd.conf file

Reply With Quote
  #18  
Old November 19th, 2003, 07:27 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: RE: RE: redhat 9 apache problem


Quote:
Quote:
on my apache on redhat all my files are siad there forrbidden but i can open them in a text editor but apache wont allow me to view my site. the apache test page worked.
Did you put the site in the same directory that has the test page? It will be something like...
/var/www/html

If it is not in the same directory you have to tell apache where the html doc will be. this is done in the httpd.conf file

the file is at the right place just it wont let me view it. its a 403 error i think Forrbiden

Reply With Quote
  #19  
Old November 19th, 2003, 07:44 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

What permissions does it have?

do a
chmod 744 file.html

Then try to view it or is it a cgi file?

Reply With Quote
  #20  
Old November 19th, 2003, 07:45 PM
chief chief is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 33 chief User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: redhat 9 apache problem

i still can't even get the apache test page to come up from a networked pc

Reply With Quote
  #21  
Old November 19th, 2003, 07:45 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: RE: redhat 9 apache problem


Quote:
What permissions does it have?

do a
chmod 744 file.html

Then try to view it or is it a cgi file?
its a php file

Reply With Quote
  #22  
Old November 19th, 2003, 07:53 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

Can you view regular html files?

try to chmod 755 the php file and see what happens? What is the script trying to do. Is it accessing something it should not be?

Reply With Quote
  #23  
Old November 19th, 2003, 07:55 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: redhat 9 apache problem

no files will work

Reply With Quote
  #24  
Old November 19th, 2003, 07:57 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

But I thought you said the apache test page worked?

Are you sure your files are in the same directory as the test page

Reply With Quote
  #25  
Old November 19th, 2003, 07:58 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: redhat 9 apache problem

none of my files

Reply With Quote
  #26  
Old November 19th, 2003, 08:02 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

Please tell me the exact directory you put you files into - full path

Reply With Quote
  #27  
Old November 19th, 2003, 08:08 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: redhat 9 apache problem

/var/www/ there in there

Reply With Quote
  #28  
Old November 19th, 2003, 08:10 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

And in your httpd.conf file what is the path under

DocumentRoot

Reply With Quote
  #29  
Old November 19th, 2003, 08:39 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
RE: RE: redhat 9 apache problem


Quote:
And in your httpd.conf file what is the path under

DocumentRoot

/ect/httpd/conf/ for the conf files

Reply With Quote
  #30  
Old November 19th, 2003, 09:07 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

open your httpd.conf file and look for the DocumentRoot section and there will be a path in there Your docs should be in that path.

Put your files in /var/www/html/ and try them first.


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > redhat 9 apache problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump