Portál AbcLinuxu, 23. listopadu 2025 09:11
htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
VHOST
ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/app/public
Directory /var/www/html/app
AllowOverride All
Options +FollowSymLinks
Require all granted
Directory
RewriteEngine On
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Řešení dotazu:
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.