Ticket #1181 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

phpmyadmin and Option FollowSymLinks not allowed

Reported by: anonyme Owned by: anarcat
Priority: block Milestone: alternc-0.9.10
Component: Bureau: bases de données Version: alternc-0.9.9
Severity: major Keywords: phpmyadmin SymLinks apache
Cc:

Description

After alternc install (apache2, alternc 0.9.9), phpmyadmin cause Internal Error. In /var/log/apache2/error.log we can see :

Option FollowSymLinks? not allowed for /usr/share/phpmyadmin/.htaccess: Option FollowSymLinks? not allowed here.

One issue is too add :

<Directory /usr/share/phpmyadmin>

Options FollowSymLinks? AllowOverride? None Order allow,deny Allow from all

</Directory>

in /etc/apache2/conf.d/alternc-ssl.conf

Change History

comment:1 Changed 4 years ago by anarcat

  • Owner changed from anonymous to anarcat
  • Priority changed from high to block
  • Status changed from new to assigned

i confirm the bug, this needs to be fixed asap.

i wonder what changed, it's probably pma that's braindead.

comment:2 Changed 4 years ago by mlutfy

Fixed in 2459.

bgm@kalofer:~/tmp-alternc/trunk/etc/alternc$ svn diff
Index: apache2.conf
===================================================================
--- apache2.conf	(révision 2445)
+++ apache2.conf	(copie de travail)
@@ -23,7 +23,7 @@
 </VirtualHost>
 
 <Directory /var/alternc>
-	AllowOverride AuthConfig FileInfo
+	AllowOverride AuthConfig FileInfo Limit Options Indexes
 	Options Indexes Includes FollowSymLinks MultiViews
 	Order allow,deny
 	Allow from all
@@ -38,4 +38,11 @@
         php_admin_value sendmail_path /usr/lib/alternc/sendmail
 </Directory>
 
+<Directory /usr/share/phpmyadmin>
+	AllowOverride AuthConfig Options FileInfo Limit Indexes
+	Options Indexes Includes FollowSymLinks MultiViews
+	Order allow,deny
+	Allow from all
+</Directory>
+
 Include /etc/alternc/bureau.conf

comment:3 Changed 4 years ago by anarcat

  • Status changed from assigned to closed
  • Resolution set to fixed

Thanks mathieu.

Note: See TracTickets for help on using tickets.