LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 12:11 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

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

Last edited by comprookie2000; 03-19-2005 at 12:15 PM.
 
Old 03-19-2005, 01: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, 01: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, 01: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, 02: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, 03: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, 05:15 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:02 PM
Setting up Apache 2... bnscomp Mandriva 1 10-09-2003 02:24 PM
Setting up apache... another one mattbuechler Linux - Software 3 07-02-2003 11:58 AM
Setting up Apache amigatec Linux - Software 1 09-20-2002 06:43 AM
Setting up Apache nial Linux - General 1 04-25-2002 09:14 PM


All times are GMT -5. The time now is 02:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration