php - Add directory exception to Symfony URL rewritings -
this project working on developed in symfony. source code in directory named intranet inside root www folder.
inside (www/intranet/) created new directory called financial different source code , wanted apache not perform kind of redirection in it. when try access of the php files in financial (www/intranet/financial/) sends me blank page nothing in source code (checked when press ctrl+u).
i want symfony keep working correctly access folder financial directly, without rewriting.
this got in .htaccess file, located in www/intranet/web/
options +followsymlinks +execcgi <ifmodule mod_rewrite.c> rewriteengine on # uncomment following line, if having trouble # getting no_script_name work #rewritebase / # skip files .something #rewritecond %{request_uri} \..+$ #rewritecond %{request_uri} !\.html$ #rewriterule .* - [l] # check if .html version here (caching) rewriterule ^$ index.html [qsa] rewriterule ^([^.]+)$ $1.html [qsa] rewritecond %{request_filename} !-f # no, redirect our front web controller rewriterule ^(.*)$ index.php [qsa,l] </ifmodule> i don't know start solve problem. pages blank, , not sure if problem in .htaccess or in httpd.conf.
note part not written in symfony. don't care url need use, want not redirected or denied
can of me this??
Comments
Post a Comment