Click to See Complete Forum and Search --> : Apache Help
AntiWindows
02-03-2003, 10:48 PM
Apache is Suppose to have been installed with suse but i cant find it any help?Once i find it or download and install if have to could someone help me out with it ive read manuals everywhere but they wouldnt help because ive messed around with apache before and never could figure it out.Well i couldnt find it so i wnet ahead and download version 2.0.43 and need some help installing it.
To find it on your system use:
find / -name apachectl
Then if its there, use: /path/to/apachectl start
To install just use(its all in the INSTALL file):
./configure --prefix=PREFIX (I use /usr/local/apache2)
make
make install
httpd.conf is the config file, propbably need to edit a few values in there to get it working.
Any
AntiWindows
02-04-2003, 11:19 AM
Ok i did the find thing and it gave me two directories
/home/hunter/httpd-2.0.43/support/apachectl
/home/hunter/httpd-2.0.43/bindist/bin/apachectl
i tried the bottom one and typed in
/home/hunter/httpd-2.0.43/bindist/bin/apachectl/to/apachectl start
then it said bash /home/hunter/httpd-2.0.43/bindist/bin/apachectl/to/apachectl is not a directory.
Id say just install it again. Its not hard and it shouldnt give you any problems.
AntiWindows
02-05-2003, 09:42 PM
OK got two more questions one when i try to host my site i went into /var/www/html/ and added my html page which is named index.html but when i run my server and go to http://localhost it still shows the test page and secondly when i run my server nobody can go to my site. IT times out. IM behind a router but im forwarding port 80.
Make sure you DocumentRoot is set to /var/www/html
When you try to view it from outside your LAN does it give an error message or just say that it can't find the server.
mrBen
02-07-2003, 12:44 PM
Originally posted by AntiWindows
Ok i did the find thing and it gave me two directories
/home/hunter/httpd-2.0.43/support/apachectl
/home/hunter/httpd-2.0.43/bindist/bin/apachectl
i tried the bottom one and typed in
/home/hunter/httpd-2.0.43/bindist/bin/apachectl/to/apachectl start
then it said bash /home/hunter/httpd-2.0.43/bindist/bin/apachectl/to/apachectl is not a directory.
Was this just a typo? You should have typed /home/hunter/httpd-2.0.43/bindist/bin/apachectl start (without the /to/apachectl bit)