Nabídka

Zobrazit příspěvky

Zde lze prohlédnout všech příspěvky uživatele. Jsou zde vidět pouze příspěvky z oblastí, do kterých máte přístup.

Nabídka Zobrazit příspěvky

Příspěvky - McBOY

#1
Server / Apache2 - AllowOverride
01. 06. 2014, 11:47:52
Mám potíže s tím že když změním v /etc/apache2/sites-enabled/00-default změním AllowOverride None na AllowOverride All
tak furt mi píše s instalaci ke control panelu od minecraftu že to není.
viz control panel:
If you are on Apache2 (xampp, wampp, lampp, mampp or similar)

Usually the command "a2enmod rewrite" should enable the module, if not, there may be something wrong with your installation of Apache2.

Also make sure that AllowOverride for your webroot directory (NOT /) is set to "All".

Restart your webserver and refresh this page.
viz 000-default:

<VirtualHost *:80>
   ServerAdmin webmaster@localhost

   DocumentRoot /var/www
   <Directory />
      Options FollowSymLinks
      AllowOverride None
   </Directory>
   <Directory /var/www>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all
   </Directory>

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   <Directory "/usr/lib/cgi-bin">
      AllowOverride None
      Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
      Order allow,deny
      Allow from all
   </Directory>

   ErrorLog ${APACHE_LOG_DIR}/error.log

   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel warn

   CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>