Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what a nightmare

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
ok, i'm running slackware 8 and am having an absolute nightmare configuring apache 1.3. i'm planning on running a standalone server with a static ip. the apache docs are horrendous and so has everything else i have read. i've tried configuring my httpd.conf thousands of times, i'm using commanche, nothing seems to work. am i missing something that i have to do outside of the "apache box", such as kernel configuration or something else? any help would be appreciated.
 
Can you access your server via localhost? Do you have a domain name registered? Is DNS pointing to your IP? Did you set your ServerName directive and uncoment the port to listen to? Untill you start setting up directories, for you pages and scripts, you should be able to use the defaults on the rest. Let us know what it's doing and what it's not doing and check you error log and we can help you a little better. I'm sure we can put our heads together and have ya up and running in no time.
 
Hi,

As hinted at by RhythmAce, the first thing I'd do is get it running so that you get the test page at . If you've already configured it a lot I'd also check for syntax errors in httpd.conf :

/usr/local/apache/bin/httpd -t (substitute your path if different)

It should just say 'Syntax OK'

If you don't have a sysv init script the standard way to stop /start the server is with apachectl - for example :

/usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl stop

You should make sure that there are httpd listeners active :

ps -aux | grep httpd
and
/usr/sbin/lsof -i TCP:80 (lsof path may be different on slackware)

Also check the various error logs in /var/log/httpd/ for more info.

Once its all active locally its not that difficult to make it 'live'...

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top