Floog
03-30-2002, 03:46 PM
I can't get off the ground with Apache.
I'm using Slack 8.0, kernel 2.4.16, and Apache 1.3.23.
Installation of Apache went great. At the end, I entered http://localhost/ into my browser and the default apache page showed.
Onto Configuration. I did a basic configuration of httpd.conf. I have the barest beginnings of a web-site that I want to host I copied all the .html files into the /var/www/htdocs directory. You'll see that I pointed to it in my httpd.conf file.
I set the server name for now, to be 127.0.0.1 just so I could test some things and try to get it to work on my computer before trying to broadcast to www.
I get the Forbidden message when I do http://127.0.0.1/. I can't access the server. I've been reading the Apache Server for Dummies, and I'm kinda stuck at the same place with Configuration.
Please give me some input to follow up on, as I'm re-reading the same stuff and not comprehending what to do.
Here's my httpd.conf:
##
## httpd.conf -- Apache HTTP server configuration file
### Section 1: Global Environment
#
ServerType standalone
ServerRoot /usr/local/apache
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
### Section 2: 'Main' server configuration
#
Port 80
User apache
Group users
ServerAdmin mhf@icecream
ServerName 127.0.0.1
DocumentRoot /var/www/htdocs
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Deny from all
</Directory>
UseCanonicalName On
DefaultType text/plain
HostnameLookups On
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
ServerSignature On
I'm using Slack 8.0, kernel 2.4.16, and Apache 1.3.23.
Installation of Apache went great. At the end, I entered http://localhost/ into my browser and the default apache page showed.
Onto Configuration. I did a basic configuration of httpd.conf. I have the barest beginnings of a web-site that I want to host I copied all the .html files into the /var/www/htdocs directory. You'll see that I pointed to it in my httpd.conf file.
I set the server name for now, to be 127.0.0.1 just so I could test some things and try to get it to work on my computer before trying to broadcast to www.
I get the Forbidden message when I do http://127.0.0.1/. I can't access the server. I've been reading the Apache Server for Dummies, and I'm kinda stuck at the same place with Configuration.
Please give me some input to follow up on, as I'm re-reading the same stuff and not comprehending what to do.
Here's my httpd.conf:
##
## httpd.conf -- Apache HTTP server configuration file
### Section 1: Global Environment
#
ServerType standalone
ServerRoot /usr/local/apache
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
### Section 2: 'Main' server configuration
#
Port 80
User apache
Group users
ServerAdmin mhf@icecream
ServerName 127.0.0.1
DocumentRoot /var/www/htdocs
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Deny from all
</Directory>
UseCanonicalName On
DefaultType text/plain
HostnameLookups On
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
ServerSignature On