Jump to content
php.lv forumi

.htacess atļaut piekļūt mapei ignorejot rewrite


andism88

Recommended Posts

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???

Link to comment
Share on other sites

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 by andism88
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...