You are not logged in.
Hey , guys
I just installed Archlinux recently , and want to configure an development enviroment for my php developing.I followed the wiki page in wiki.archlinux.org to install lamp and configure it, but why do I always get a 403 permission problem ?
Configuration in /etc/httpd/conf/httpd.conf :
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule cgid_module modules/mod_cgid.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule userdir_module modules/mod_userdir.so
I disabled these module , i don't need them.
Configuration in /etc/httpd/conf/extra/httpd-vhost.conf :
NameVirtualHost *:80
NameVirtualHost *:81
NameVirtualHost *:88
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/home/icefox/webroot"
<Directory "/home/icefox/webroot">
Options FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/home/icefox/webroot/log/error_log"
</VirtualHost>
<VirtualHost *:81>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/home/icefox/vidiscript/app/webroot"
<Directory "/home/icefox/vidiscript/app/webroot">
Options FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/home/icefox/webroot/log/error_log"
</VirtualHost>
<VirtualHost *:88>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/home/icefox/phpMyAdmin"
<Directory "/home/icefox/phpMyAdmin">
Options FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/home/icefox/webroot/log/error_log"
</VirtualHost>
What i want to do is setup 3 vhost by using ports :
port 80 for common php page
port 81 for my recent project
port 88 for my phpmyadmin
when I vist http://localhost:80/index.html , i got a 403 permission , then I checked the error_log , i found this :
[Fri Feb 13 10:34:37 2009] [crit] [client 127.0.0.1] (13)Permission denied: /home/icefox/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
I have no ideas about this . When I ust this configuration on Ubuntu and Fedora , it goes well . I dont know why it happends to get this problem on archlinux .
P.S. : I have added a httpd user , do I need to add a httpd group ?
Archlinux is the best choice for using linux !!!
Offline
Can any body help me ?
Archlinux is the best choice for using linux !!!
Offline
[Fri Feb 13 10:34:37 2009] [crit] [client 127.0.0.1] (13)Permission denied: /home/icefox/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
That seems like your problem there - I'm guessing the http user can't access the /home/icefox/ path
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
kingheaven wrote:[Fri Feb 13 10:34:37 2009] [crit] [client 127.0.0.1] (13)Permission denied: /home/icefox/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
That seems like your problem there - I'm guessing the http user can't access the /home/icefox/ path
Hello , fukawi2
Thanks for your help , you made me realized that , I did change the permission for /home/icefox directory.
What I did for resolving this problem is , modify the /home/icefox permission , make icefox group can access this folder and add http user to icefox group , then , problem resolved.
thanks , fukawi2 !
Archlinux is the best choice for using linux !!!
Offline