http://localhost/prace1/publichttp://localhost/prace2/publichttp://localhost/prace3/public
http://localhost/prace1http://localhost/prace2http://localhost/prace3
RewriteEngine onRewriteCond %{REQUEST_URI} !^/prace1/RewriteRule ^prace1/(.*) /prace1/public/$1 [L]RewriteCond %{REQUEST_URI} !^/prace2/RewriteRule ^prace2/(.*) /prace2/public/$1 [L]RewriteCond %{REQUEST_URI} !^/prace2/RewriteRule ^prace2/(.*) /prace2/public/$1 [L]
Citace od: tst kdy 09. 12. 2014, 14:51:20RewriteRule ^/?(prace[0-9])$ /$1/public [L,E=DONE:true]
Citace od: Ondřej Vaniš kdy 09. 12. 2014, 14:55:42Kód [Vybrat] RozbalitRewriteEngine onRewriteCond %{REQUEST_URI} !^/prace1/RewriteRule ^prace1/(.*) /prace1/public/$1 [L]
RewriteEngine onRewriteCond %{REQUEST_URI} !^/prace1/RewriteRule ^prace1/(.*) /prace1/public/$1 [L]
RewriteEngine onRewriteCond %{REQUEST_URI} !^/(prace[0-9])/public/RewriteRule ^(prace[0-9])/(.*)$ /$1/public/$2 [L]
RewriteEngine onRewriteRule ^(prace[0-9])/(?!public/)(.*)$ /$1/public/$2 [L]
http://localhost/prace1/index.php