LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-19-2005, 10:40 AM   #1
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
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?
 
Old 03-19-2005, 11:11 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Should be /var/www/localhost
Do you have apache or apache2?

Last edited by comprookie2000; 03-19-2005 at 11:15 AM.
 
Old 03-19-2005, 12:15 PM   #3
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
I believe it's just apache

Thanks for the quick reply
 
Old 03-19-2005, 12:48 PM   #4
barleykorn
Member
 
Registered: Sep 2004
Distribution: lfs
Posts: 32

Rep: Reputation: 16
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
 
Old 03-19-2005, 12:56 PM   #5
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
Old 03-19-2005, 01:02 PM   #6
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
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
 
Old 03-19-2005, 02:27 PM   #7
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
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.
 
Old 03-19-2005, 04:15 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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
 
Old 03-19-2005, 04:48 PM   #9
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up apache arrruken Linux - Networking 2 01-09-2004 05:02 PM
Setting up Apache 2... bnscomp Mandriva 1 10-09-2003 01:24 PM
Setting up apache... another one mattbuechler Linux - Software 3 07-02-2003 10:58 AM
Setting up Apache amigatec Linux - Software 1 09-20-2002 05:43 AM
Setting up Apache nial Linux - General 1 04-25-2002 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration