andism88 Posted September 8, 2011 Report Share Posted September 8, 2011 Pašreizējais .htaccess fails Options +FollowSymlinks RewriteEngine On RewriteBase /lapa RewriteCond %{REQUEST_FILENAME} !^(.+)\.(css|js|jpg|gif|png|ico)$ RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] Viss ir ok, bet dēļ rewrite nedarbojas tinymce... Kā lai atļauj htaccess piekļūt kādai konkrētai mapei bez rewrite, piemeram tinymce??? Quote Link to comment Share on other sites More sharing options...
codez Posted September 8, 2011 Report Share Posted September 8, 2011 ieliec RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f tas netaisīs rewritu, ja tādi faili būs atrodami mapē. Quote Link to comment Share on other sites More sharing options...
andism88 Posted September 8, 2011 Author Report Share Posted September 8, 2011 (edited) Citu variantu nav?? lai norādītu konkrētu mapi? kautkā šādi?? bet neiet! RewriteCond %{REQUEST_URI} !^/vadiba/tiny_mce$ ieliec RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f tas netaisīs rewritu, ja tādi faili būs atrodami mapē. Edited September 8, 2011 by andism88 Quote Link to comment Share on other sites More sharing options...
codez Posted September 8, 2011 Report Share Posted September 8, 2011 (edited) Vari pamēģināt ko tādu: RewriteRule ^/?mapesnosaukums/.+$ - [L] Bet manuprāt loģiski būtu, ja visus failus no web mapes varētu pieprasīt, bet to, kurus nevar, nelikt pat publiskajā mapē. Edited September 8, 2011 by codez Quote Link to comment Share on other sites More sharing options...
briedis Posted September 8, 2011 Report Share Posted September 8, 2011 (edited) Atvainojos, trololololl. Edited September 8, 2011 by briedis Quote Link to comment Share on other sites More sharing options...
mad182 Posted September 10, 2011 Report Share Posted September 10, 2011 To, kas nav publisks, nevajag glabāt iekš webroot'a, citādi var sanākt tāda šmuce, kā AMD. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.