← Back to team overview

sslug-teknik team mailing list archive

Re: Apache2

 

David Bo Jensen wrote:
Hej
Jeg har installeret apache2, mysql5, php5 og phpmyadmin.
Imidlertid giver http://www.my-domain.com/phpmyadmin
HTTP-fejl 403 dvs jeg har ikke rettigheder til siden
Min /etc/apache2/sites-available/my-domain.com ser således ud:

hvis du går ind på :

http://www.my-domain.com/

Virker din server så?
<VirtualHost * >
        #Basic setup
        #ServerAdmin webmaster@xxxxxxxxxxxxx
        ServerName www.my-domain.com
        DocumentRoot /var/www/my-domain.com/docs

        <Directory /var/www/my-domain.com/docs>
                Order Deny,Allow
                Allow from all
                # Don't show indexes for directories
                Options -Indexes
        </Directory>

Alias /phpmyadmin /usr/local/php5/phpMyAdmin-2.9.0.2-all-languages-utf-8-only <Directory /usr/local/php5/phpMyadmin-2.9.0.2-all-languages-utf-8-only>
             Order Deny,Allow
             Allow from all
        </Directory>

</VirtualHost>



Hvad er rettighederne på dette katalog:

/usr/local/php5/phpMyAdmin-2.9.0.2-all-languages-utf-8-only

det skal sikket have rettighederne  "rwxr-xr-x"  som kan fås sådan:

chmod -R 755 /usr/local/php5/phpMyAdmin-2.9.0.2-all-languages-utf-8-only

/Frank


Follow ups

References