Results 1 to 4 of 4
pls can someone help out
I installed Apache 1.3.29 on my RH9 desktop, followed some tutorials. The installation went fine and I saw the Apache test page"u have successfully installed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-15-2005 #1Linux Newbie
- Join Date
- Nov 2004
- Posts
- 167
Apache Configuration (RH9)
pls can someone help out
I installed Apache 1.3.29 on my RH9 desktop, followed some tutorials. The installation went fine and I saw the Apache test page"u have successfully installed Apache....."
I was also able to view(access) a sample index.html document I created on my linux machine from my windows xp laptop.
I then started on another tutorial at
http://www.apachefreaks.com/tutorials/30/5.php (site1)
http://www.apachefreaks.com/tutorials/29/1.php (site2)
and got stuck.
From (site1), the commands: apachectl configtest, apachectl start,apachectl restart ,apachectl startssl, apachectl stop " dont work. They result in "command not found errors.
From site2, (yes, i can see an 'htpasswd' file in my '/usr/local/apache/bin' directory, but when I try to create an htpasswd file, I get a "command not found" error.
I guess the problem is that I havent added the command to my path as mentioned at site2. Pls how do I add the command to my path so that other commands too like the ones I mentioned above will work.
thanks
Toks
- 01-15-2005 #2
As for the first problem try
as root, and change 'start' with whatever you want.Code:httpd -k start
dylunio
- 01-17-2005 #3Linux Newbie
- Join Date
- Nov 2004
- Posts
- 167
hi dylunio,
the command 'httpd -k start' results in
"-bash: httpd: command not found" error.
I was root when I issued the command.
Toks
- 01-17-2005 #4
You already have it running if you can see it from your XP machine but the correct start is
/etc/init.d/httpd restart
You can do this to check it. It should say
http shutting down [pass]
httpd starting up [pass]
if everything is ok.
which is sounds like it is. Don't worry about creating passwords till you get everything running the way you like it.
Find the file that is the test page which should be in /var/www/html
It should be called index.html
copy it
cp index.html index.html.orig
then edit the index.html file to say whatever you want to say and you will be a new addition to the internet.
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds


Reply With Quote
