LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2004, 01:43 AM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Problems Accesing Content on Apache


i just finished installing Apache, php4, mysql and openssl on a slack 10 box. when i open mozilla and go to link http://localhost/index.php , it opens the page alright, but when i use another computer on the network and use http://ip_addr/index.php, it tells me that the connection was refused.... what am i doing wrong ? i've been scratching my head for ages now. any help would be gladly appreciated.

TIA
 
Old 08-05-2004, 01:56 AM   #2
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
nm, port 80 wasn't listening and i changed it to another port , and its working now.... thanks anyways
 
Old 08-05-2004, 01:59 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Do you run any iptables script ?
Also it may be a setting in /etc/apache/httpd.conf that deny access or an .htaccess file in the directory that contains index.php. Did you look at your error log file ?

try : tail -f /var/log/apache/error_log , and try to access to the web server with the other machine, then look in the log.

If your index.php is in /home/www/ directory for example , try add to httpd.conf (if there are no directive for /home/www) :
<Directory "/home/www">
AllowOverride None
Order allow,deny
Allow from all
</Directory>

[edit]
Great, it is fixed But it is weird that it does not listen the port 80, what have you for Listen directive in httpd.conf ?

Last edited by Cedrik; 08-05-2004 at 02:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
directory content on apache spank Linux - Newbie 1 09-23-2005 02:40 PM
Problems accesing Gnome via remote terminal guarriman Linux - General 3 02-22-2005 09:21 AM
Accesing my NTFS(WinXP) from FC2 and eth0 Problems igo_mexico Linux - Newbie 11 09-03-2004 07:24 PM
Apache serving content after the content is removed? jrbush82 Linux - Software 6 05-05-2004 04:39 AM
problems accesing win2k after mandrake installation joemamma Linux - Newbie 7 02-22-2003 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration