Δημοσιεύτηκε: 30 Νοέμ 2010, 17:35
Καλησπέρα σε όλους. Μετά από πολύ καιρό προσπαθώ να ξαναστήσω τον apache με virtual host αλλά παίρνω ένα Access Denied error. Στον firefox εμφανίζεται αυτό
Το αρχείο του virtual host είναι το παρακάτω
Έχω ενεργοποιήσει το site με
Το αρχείο /etc/hosts είναι το παρακάτω
Το error log του apache δείχνει αυτό
Έχει κάποιος μια ιδέα;
- Κώδικας: Επιλογή όλων
Forbidden
You don't have permission to access / on this server.
Apache/2.2.16 (Ubuntu) Server at localhost Port 80
Το αρχείο του virtual host είναι το παρακάτω
- Κώδικας: Επιλογή όλων
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.drupal-site.com
ServerAlias drupal-site.com
DocumentRoot /home/pavlos/Temp/websites/drupal-site/htdocs
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory /home/pavlos/Temp/websites/drupal-site/htdocs/>
Options FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /home/pavlos/Temp/websites/drupal-site/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
# Logfiles
ErrorLog /home/pavlos/Temp/websites/drupal-site/logs/error.log
CustomLog /home/pavlos/Temp/websites/drupal-site/logs/access.log combined
</VirtualHost>
Έχω ενεργοποιήσει το site με
- Κώδικας: Επιλογή όλων
a2ensite pavlos.homelinux.org
Το αρχείο /etc/hosts είναι το παρακάτω
- Κώδικας: Επιλογή όλων
192.168.1.112 pavlos-laptop # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost joomla-site.com drupal-site.com
::1 pavlos-laptop localhost6.localdomain6 localhost6
127.0.1.1 pavlos-laptop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Το error log του apache δείχνει αυτό
- Κώδικας: Επιλογή όλων
[Tue Nov 30 16:19:06 2010] [crit] [client 127.0.0.1] (13)Permission denied: /home/pavlos/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Έχει κάποιος μια ιδέα;