Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-19-2005, 10:40 AM
|
#1
|
Member
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49
Rep:
|
Setting up apache
Hi,
I have a machine that I want to set up as a server. I installed Slackware 10 with apache. My question is: Where is it? I checked for it to be started automatically during setup but it's nowhere to be found. Anyone know where it would be located?
|
|
|
03-19-2005, 11:11 AM
|
#2
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Should be /var/www/localhost
Do you have apache or apache2?
Last edited by comprookie2000; 03-19-2005 at 11:15 AM.
|
|
|
03-19-2005, 12:15 PM
|
#3
|
Member
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
I believe it's just apache
Thanks for the quick reply
|
|
|
03-19-2005, 12:48 PM
|
#4
|
Member
Registered: Sep 2004
Distribution: lfs
Posts: 32
Rep:
|
try a couple of things
not positive about slackware, but try a couple of things
1. locate httpd (This will show you where apache is)
2. the server root is probably /etc/httpd
3. the document root is probably /var/www/html
At least this is FC3. So hope it helps
|
|
|
03-19-2005, 12:56 PM
|
#5
|
Member
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
In /var/www i have directories htdocs, icons, and cgi-bin. In htdocs I have the indexes in different languages and in cgi-bin I have printenv and test-cgi. Is that all of it? It seems in the windows version there was alot more. I have no /etc/httpd
|
|
|
03-19-2005, 01:02 PM
|
#6
|
Member
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684
Rep:
|
In slack to start your apache at start up, just look in /etc/rc.d/ in there should be rc.httpd the permissions for startup should be 755. Then the daemon will start and you can configure your apache server with the files in /etc/apache. To change the content it's as you found earlier /var/www/htdocs, but you can change where the server points to in the config files. For help on the config files either get your apache server running, then go to it with a web browser (to make sure it works), and click on the manual link. Should provide you with more info than you would know what to do with.
Alunduil
|
|
|
03-19-2005, 02:27 PM
|
#7
|
Member
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
Thanks for the reply.
I don't see where to change startup permissions. If I right click rc.httpd all I get is access permissions.
|
|
|
03-19-2005, 04:15 PM
|
#8
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Make sure you set it up right;
http://www.networkcomputing.com/unix...013.part4.html
to change the permissions chmod 755 /path/to/file but be careful
man chmod
|
|
|
03-19-2005, 04:48 PM
|
#9
|
Member
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
It's working now! Yay!.Thanks so much guys. Now I'm just going to read up on that site linked in the above post to learn more about apache.
|
|
|
All times are GMT -5. The time now is 08:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|