About ecshopIIS pseudo-static about ecshop IIS pseudo-static
I haven't finished ecshop in a few days. I installed ec last night and finished it. I had a problem with static data. how can I get it all at 404.
1. The EC background has configured URL "simple rewriting"
2. Download and install the Rewrite3.0 component and specify the Rewrite path in the ISAPI of the IIS attribute.
3. Copy the http. ini file to the website root directory
4. Restart IIS
Reply to discussion (solution)
Excuse me, what's the problem? where is it ..
Clear the cache .. It is best to paste two lines of code to see which program page the static url accesses after rewrite ..
The problem is solved .. The http. conf file in the installation directory of the Rewrite component is still being modified.
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56
RewriteBase/
RewriteCond % {REQUEST_FILENAME} \. (html htm php php2 php3 php4 php5 phtml pwml inc asp aspx ascx jsp cfm cfc pl cgi shtml shtm phtm xml) $
RewriteCond % {REQUEST_FILENAME }! -F
RewriteCond % {REQUEST_FILENAME }! -D
RewriteRule ^ (. *) $ index. php? $1 [L]
[ISAPI_Rewrite]
#3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
------------ Restart Rewrite.
ISAPI_Rewrite is not easy to use,
We recommend that you use the official iis urlrewrite
I found the problem again. I can jump to the page by clicking it. I don't want to argue which link is on the homepage, but the url hasn't changed...
I am so depressed that I still want to solve the problem.