Current time: 05-08-2024, 08:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with +FollowSymLinks and phpMyAdmin
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
Reputation: 0
Post: #1
Question Problem with +FollowSymLinks and phpMyAdmin
I have the following error message in my /var/log/apache2/error.log :

Quote:[Sat Apr 05 00:50:22 2008] [alert] [client ::1] /var/www/phpmyadmin/.htaccess: Option FollowSymLinks not allowed here

and my /var/www/phpmyadmin/.htaccess looks like this:

Code:
DirectoryIndex index.php
Options +FollowSymLinks -Indexes

<IfModule mod_mime.c>
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule !mod_php4.c>
    <IfModule !mod_php5.c>
    <IfModule !mod_fastcgi.c>
    <IfModule !mod_fcgid.c>
    <IfModule mod_actions.c>
    <IfModule mod_cgi.c>
        AddType application/x-httpd-php .php

        Action application/x-httpd-php /cgi-bin/php
    </IfModule>
    <IfModule mod_cgid.c>
        AddType application/x-httpd-php .php

        Action application/x-httpd-php /cgi-bin/php
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
</IfModule>

# Deny config.inc.php file
<Files config.inc.php>
    Order deny,allow
    Deny from all
</Files>
    
# Authorize for setup
<Files setup.php>
    # For Apache 1.3 and 2.0
    <IfModule mod_auth.c>
    AuthType Basic
    AuthName "phpMyAdmin Setup"
    AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    # For Apache 2.2
    <IfModule mod_authn_file.c>
    AuthType Basic
    AuthName "phpMyAdmin Setup"
    AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    Require valid-user
</Files>

Should I delete the "+FollowSymLinks" at the beginning?
Thanks in advance.
(This post was last modified: 04-05-2008 07:50 PM by DaSilva.)
04-05-2008 08:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with +FollowSymLinks and phpMyAdmin - DaSilva - 04-05-2008 08:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)