Help - Search - Members - Calendar
Full Version: Starting Up Apache?
Linuxhelp > Support > Technical Support
Ravage_D
Hey,

I'm running Red Hat Linux 9 on one of my spare boxes, that used to be running 7.3. With 7.3, acessing the Apache webserver was easy. I just typed in the server's address, and bingo!

Using 9, so I'm finding, is going to be more difficult. I can't access the website at all! And there's nothing in /var/www/html

Can anybody help me out?

-Ravage D'Selth
chrisw
you should be able to just access it if it is started...
its odd that there is nothing in /var/www/html..
create an index.html page in that directory
then try connecting again and see if it pulls up the page
Ravage_D
Hey,

Tried that! No go.. my index.html file wouldn't load.

Actually, there IS something in /var/www/html .. there's a directory called usage.
Inside of which is: msfree.png and webalizer.png, both of which cannot be accessed either sleep.gif

-Ravage D'Selth
Ravage_D
Hey,

HAZA! Got it to work. I asked a friend, he told me to use httpd -k start and it works!

Now the only problem I have is getting FTP to work! I don't even know if I have an rpm installed. Please help!

-Ravage D'Selth
hughesjr
If you want to start and stop the HTTP server automatically when the computer boots, go to the /etc/init.d directory and make sure you have the file in that directory called httpd.

Then issue the command:

chkconfig --level 35 httpd on

chkconfig --level 016 httpd off

So httpd will start-up automatically when boot to runlevel 3 (character based startup mode) or runlevel 5 (GUI startup mode) and will stop when you go to single user mode (runlevel 1), shutdown the machine (runlevel 0) or reboot the machine (runlevel 6).
---------------------------------

There are several ftp servers out there ... BUT I would use the SFTP program (part of SSH) if off site access is required. If you must use an FTP server, then ProFTPd is a farily secure option ... the program most widely used is WU-FTPD, but (as you can see on their main page right now) there have been many security issues with WU-FTPD ... I have used Pro-FTPd in the past and I recommend it (but again ... I would recommend SSH/SFTP as the connect method ... if possible)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.