LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-23-2003, 05:06 PM   #1
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
Question on slack apache


This is a fairly quick question on the slackware apache, Well i'm sitting in the directory of '/etc/apache' and i'm just wondering where i can install it/set it up. Well I think i'm in the right directory of setting it up
 
Old 02-23-2003, 07:30 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Well, /etc/apache directory is the correct directory to configure Apache. The file is httpd.conf. There are several settings that you will need to adjust. The best thing os to go through the file slowly, it is really very well documented.

As for the actual web pages, the default DocumentRoot is set to /var/www/htdocs. But this is the location for the web pages that it should serve. Of course this can be changed in the httpd.conf file.

If Apcahe is running you should be able to view http://127.0.0.1 as the default page that is there now. It basically states that Apache is working.

Good luck.
 
Old 02-23-2003, 07:42 PM   #3
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Original Poster
Rep: Reputation: 30
Wait so how do i edit the httpd.conf ? do I use a text editor to manipulate the file?
 
Old 02-23-2003, 07:50 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Ok, if you need to ask then lets start with a simple text editor. From a system console prompt, like konsole.

cd /etc/apache
mcedit httpd.conf

mcedit is part of the Midnight Commander package. It has the function keys on the menu at the bottom.

If you like to work in the GUI mode, (euuu), say in KDE using Konqurer, then right click the file and select open with. You can then take your choice from the menu.

Hope it helps.
 
Old 02-23-2003, 07:57 PM   #5
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Original Poster
Rep: Reputation: 30
thanks dude, i was using IIS the last time i was running windows, and it Fing crashed on me, I'm so glad to be able to setup a apache server now :]

thanks :]
 
Old 02-23-2003, 11:42 PM   #6
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 660

Rep: Reputation: 30
Personally I install my apache/php/mysql all from source as I don't like the default slack packs for it. If you want more detailed info on how to do the php/apache thing go here... you may have to change the apache version and the php version but this seems to work for me. If you want to keep the slack install, then completely ignore me
 
Old 02-24-2003, 03:29 PM   #7
wass29
Member
 
Registered: Feb 2003
Distribution: Slack 9,10 Ubuntu 8.04-current RHEL4(sort of)
Posts: 63

Rep: Reputation: 15
I installed it the basic way not phph/apache and found that things were only difficult to allow access to. Like pics and other thngs like that, Finally I just stated putting everythin in the htdocs foler and it all started working. It just took me a while to figure that one out.....
 
Old 02-24-2003, 04:11 PM   #8
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Original Poster
Rep: Reputation: 30
Wait a minute, I never got a package for apache/php and mySQL
what's going on here, can i download it? then upzip it?? oof ;/// Because i might need that soon ;x
 
  


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
slack apache and php zuessh Slackware 4 04-23-2005 07:40 PM
Apache with mod_perl for slack mago Slackware 2 03-27-2005 11:10 AM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
ASP on Apache (Slack 9) Manuel-H Linux - General 2 04-22-2003 10:39 PM
Slack-8.1: Apache + mod_php pickledbeans Slackware 2 07-07-2002 11:40 AM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration