LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2003, 08:27 AM   #1
NewbieUser
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware 8.1
Posts: 5

Rep: Reputation: 0
Configuring Apache on Slackware 8.1 Question


I am trying to configure the httpd.conf for apache on slackware 8.1 without much success. I did the full install for slack 8.1 but cannot locate the httpd.conf. I did find a httpd file but when I open it up with a text editor it's all a jumble of characters. There is a apacheconfig file however. Would that be the httpd.conf file for slackware 8.1?

If so, would I configure it by simply entering the configurations layed out in the manual anywhere in the file?

I'm new to linux and servers and even text editors, but I desperately would like to set up a server. I have gone thru all the resource sites and printed out the directions and even bought a few books on apache and linux, but I'm having a hard time filling in the info that these references expect me to already know. I can't seem to find any step by step instructions on how to configure httpd let alone find it.

On a side note to my frustrations, I've tried to downloading the latest FreeBSD because the book I bought on Apache recommends using it. I've successfully downloaded the files, which took a few days, and when I tried burning them Disc 2 would always fail to extract giving me errors. I tried different versions of FreeBSD but it's always Disc 2 that has this same problem... I've given up on using FreeBSD.

I haven't slept trying to install linux and locating the httpd.conf and I'm rambling...

If anyone can help me with suggestions in configuring Apache for a web server I'd appreciate it.

Thanks...
 
Old 01-02-2003, 08:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
look for /etc/httpd/conf/httpd.conf or similar.
 
Old 01-02-2003, 09:04 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Actually on Slack its gonna be in your /etc/apache directory where you'll find the httpd.conf file..
 
Old 01-02-2003, 09:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
or similar
i think that counts. pah!
 
Old 01-02-2003, 11:55 AM   #5
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
you could try looking in

/usr/local/apache/conf/httpd.conf

or use the locate command to find it?

christo
 
Old 01-02-2003, 12:23 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Okay, he's using Slackware 8.1 and supposedly it has been installed.

He got 3 different answers but the correct one is mine..

Unless you specified differently, your httpd.conf file is located here:

/etc/apache/httpd.conf

 
Old 01-02-2003, 12:26 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
smug git.
 
Old 01-04-2003, 06:27 PM   #8
NewbieUser
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware 8.1
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you! I found it in /etc/apache/httpd.conf, it's running and my first server is up!

Thanks guys!
 
  


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
Configuring apache NeoAndersn007 Debian 7 03-27-2005 06:31 PM
Configuring Apache desarrolladores Linux - Software 4 06-29-2004 02:14 PM
Configuring Apache :( shoombool_tala Linux - Software 5 04-12-2004 06:30 PM
Need a little help configuring apache... tarballed Linux - Software 1 08-30-2003 02:53 PM
configuring apache d_lake Linux - General 16 05-12-2003 09:55 AM


All times are GMT -5. The time now is 03:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration