. Htaccess does not work! The recipient has a score !. The htaccess content is as follows: RewriteEngineOnRewriteBaseRewriteRule ^ cms5gamewebstaticscss5gcss (. *. css) combine. php? Typecss & amp; files $ 1RewriteRule ^ cms5gameweb. htaccess does not work! The recipient has a score!
The. htaccess content is as follows:
RewriteEngine On
RewriteBase/
RewriteRule ^ cms/5 gameweb/statics/css/5g/css/(. * \. css)/combine. php? Type = css & files = $1
RewriteRule ^ cms/5 gameweb/statics/css/5g/js/(. * \. js)/combine. php? Type = javascript & files = $1
Install the phpStudy integration environment in Windows 7.
Httpd. conf has modified the following content:
LoadModule rewrite_module modules/mod_rewrite.so
Options All
AllowOverride All
AccessFileName. htaccess
Cannot take effect .. Both the htaccess and combine. php files are stored in the root directory. I don't know why...
------ Solution --------------------
It is said that all of them have scores, so I am here ~~
------ Solution --------------------
Let's take a look. What does LZ mean?
------ Solution --------------------
Insufficient information. test it separately.
First confirm that your apache can work normally, then the most basic htaccess can work, and then the rewrite module can work independently.
Then there will be detailed information in the logs of the joint debugging... apache.
------ Solution --------------------
Check whether your rewrite module is enabled first, and when you modify the http. conf configuration, there are more than one!
RewriteBase/
Is there a problem with the root directory?
------ Solution --------------------
Discussion
The. htaccess content is as follows:
RewriteEngine On
RewriteBase/
RewriteRule ^ cms/5 gameweb/statics/css/5g/css/(. * \. css)/combine. php? Type = css & files = $1
RewriteRule ^ cms/5 gameweb/statics/css/5g/js/(. * \. js)/combin ......