Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-07-2004, 01:00 AM   #1
LQ Newbie
Registered: Nov 2004
Location: Temple City, CA
Distribution: Slackware 10.0
Posts: 17

Rep: Reputation: 0
Getting Apache (1.3) Going

Hi. I've had Slackware 10.0 up for about 2 days now (my first Linux box), and I'd like to set this machine up as a development web server.

I have setup Apache on Windows machines before, so I don't know what I'm doing wrong this time. This is the output when I try to look at localhost from Mozilla

You don't have permission to access / on this server.
Apache/1.3.31 Server at Kinetic_Server.localdomain Port 80

My index.html file is a simple <html><body>Hello World</body></html>. It sits in /home/_Web.

I have updated the parameters in httpd.conf (single host):
DocumentRoot "/home/_Web"
<Directory "/home/_Web">
I thought with those updates, I should have been able to access index.html. Please tell me what I missed. I'm almost sure it's something simple.

Also, I went through the Apache SSL tutorial to get that set up, and the service restarts fine. No error messages. However, I run the line netstat -tpan | grep 443, as the tutorial advises and I get nothing. I don't understand what I'm reading in the error_log file and how to fix it -

[Sat Nov 6 21:55:16 2004] [notice] Apache/1.3.31 (Unix) mod_ssl/2.8.18 OpenSSL/0.9.7d configured -- resuming normal operations
[Sat Nov 6 21:55:16 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

I'm assuming the two issues are related... or perhaps not. Anyway, I also have tons of questions about other stuff... but I'll start with this one. Thanks!

Old 11-07-2004, 01:39 AM   #2
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Rep: Reputation: 30
Welcome to LinuxQuestions! I hope I can make a good first impression by fixing your issue on the first try. Congratulations on choosing Slackware as your distro of choice. If you learn to use Linux on Slack, you'll be able to handle pretty much any other distro out there, so stick with it. I think I know what your issue is. You never mentioned your file permissions.

Are your file and folder permissions setup right?

You have to make sure your public html directory (and files inside it) are able to be "read" by anyone. Break out a console and lets see if we can get this bad Jackson rolling.

$>chmod 755 *your public html folder*

$>cd *your public html folder*

$>chmod 755 index.html
That should fix it. People new to Linux that have migrated from Windows usually forget about having to setup their file permissions correctly. Don't feel bad, I stumbled around for an hour during my newbie years trying to find out what was wrong. Turns out I had my "htdocs" directory permissioned wrong.

Let me know if this works or not.

Last edited by MikeZila; 11-07-2004 at 01:56 AM.
Old 11-07-2004, 02:53 AM   #3
Registered: Aug 2004
Location: Israel
Distribution: Ubuntu 10.10
Posts: 271

Rep: Reputation: 34
A good article about installing Apache, php and MySQL on Linux may be found here.
I installed it using this tutorial and everything working, so give it a try.
Old 11-07-2004, 03:19 AM   #4
LQ Newbie
Registered: Nov 2004
Location: Temple City, CA
Distribution: Slackware 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
That was a quick fix! Thanks Mike. I will never forget to set my permissions now.

I picked Slackware because I'm the type of guy who has to spend hours after an Windows install removing all the stuff I don't need. Also, the over-riding description of Slackware seemed to be fast and stable. Can't argue with that.

Any ideas about what the error log is saying in regards to SSL?

z-vet, thanks for the link. I will refer to it when configuring MySQL... eventually.
Old 11-07-2004, 03:23 AM   #5
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Rep: Reputation: 30
Originally posted by emptystrings
Any ideas about what the error log is saying in regards to SSL?
Nope. Never had any problems with a stock Apache installation on Slackware. (Aside from a few permissions pile-ups like yours) The Slackware Apache comes pre-configured to use mod_ssl, so if you can see your homepage by pointing lynx (or any other web-browser) at localhost, you should be square already.

I'm really glad that I could help!
Old 11-07-2004, 12:08 PM   #6
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,565

Rep: Reputation: 140Reputation: 140
did u change httpd.conf in regards to ssl like creating a virtual host:443 or sth like that?
did u make a certificate? it is needed for the ssl handshake.
apache comes with a script called to create that.
to run the script u have to chmod 0755 it again.
cheers, j


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
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 01:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 05:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 08:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 06:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 PM.

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