Regret for a long question but I tried to but in maximum stuff, for you all experts to analyze
I have recently remastered PclinuxOS .92, i.e, installed on my hard disk & then ran mklivecd to create my custom distro.
Now the problem is that when I run the live CD , which I created out of installed PclinuxOS.92; I am unable to access the apache frontpage (for that matter any file on the server), i.e., for my server running at port 8080 (
http://localhost:8080/), I get the following error:
Quote:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.54 (PCLinuxOS/PREFORK-3tex) Server at localhost Port 8080
|
P.S: Everything was running perfectly when I was running the server from my hard-disk; I see a possible reason why apache stopped working on account of something done by mklivecd script.
Here's few lines from /var/logs/httpd/error_log
Quote:
[Wed Mar 22 18:49:31 2006] [notice] Apache/2.0.54 (PCLinuxOS/PREFORK-3tex) configured -- resuming normal operations
[Wed Mar 22 18:50:43 2006] [error] [client 127.0.0.1] Symbolic link not allowed: /var
[Wed Mar 22 18:51:18 2006] [error] [client 127.0.0.1] Symbolic link not allowed: /var
|
Snippets from /etc/passwd
Quote:
apache:x:77:77:system user for apache:/var/www:/bin/sh
|
Quote:
Directory premissions of /var /var/www /var/www/html is:
drwxr-xr-x
File permission of /var/www/html/index.html is:
-rw-r--r-- 1 root root 1525 Mar 10 18:15 /var/www/html/index.html
|
here's relevant uncommented sections from /etc/httpd/conf/httpd.conf
Quote:
ServerRoot "/etc/httpd"
<IfModule !perchild.c>
#ScoreBoardFile logs/apache_runtime_status
</IfModule>
PidFile /var/run/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
Listen 127.0.0.1:8080
LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
Include modules.d/*.conf
Include conf.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
UseCanonicalName Off
DocumentRoot "/var/www/html"
<Directory />
Options -All -Multiviews
AllowOverride None
<IfModule mod_access.c>
Order deny,allow
Deny from all
</IfModule>
</Directory>
<Directory "/var/www/html">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
# Controls who can get stuff from this server.
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<IfModule mod_include.c>
<IfModule mod_dir.c>
DirectoryIndex index.shtml
</IfModule>
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.cgi index.pl index.htm Default.htm default.htm index.xml
</IfModule>
AccessFileName .htaccess
<IfModule mod_access.c>
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
</IfModule>
<IfModule mod_mime.c>
TypesConfig conf/mime.types
</IfModule>
DefaultType text/plain
|
Please help me out, Thanks in advance.