OK, thanks for explaining that a little further.
Do you know if it's possible to automate the cache reset, perhaps through a Cron job?
Printable View
Are there any know issues with stock Centos 5, apache 2.2.3 installs
with easypopulate installed?
I am very new to zencart but as far as I can tell everything is setup as per the install guide.
once SSU is installed apache give a page not found error on any rewriten urls.
I imagine the problem is with the .htaccess file?
I have the most recent versions of all zencart modules(unless something new has been released in last 24 hours)
i know nothing about php or apache, but I assume the lines:
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
do something to the url to change it, how does the regexp work?
what is the SCRIPT_FILENAME variable?
does the [E=VAR1:$1,QSA,L] dodify the GET query to the http server, if so how?
I wonder if there is a problem with redirect??
Does the rewrite redirect the browser to the new url????
Basically my system works as normal till the standard SSU .htaccess file is enabled, then it all goes wrong.
probably my server config but may be the .htaccess config?
what modules MUST apache have to allow SSU to work?
Any clues would be gratefully recieved, please tell me I'm not making a stupid newbie mistake.
peteboy:
Is your zen cart in the root directory?
Did you set the:
RewriteBase /
3.6.3 is available download.
1. Cron added in cron/ssu.php (you can change the folder name as you wish)
Also, you can specify which cache folder to clean up, by default it will clean up everything. If you dont want it to do so, if you want to clean up only aliases for example:
cron/ssu.php?folder=aliases
I will assume that you have to google for cron usage if you dont know it yet.
2. The unique key pair in table links aliases is changed, this allows SSU to update the new aliases correctly when it needs to.
3. There was a bug that prevents you to set the permanent_link status, this is now fixed.
No I did not set my rewrite base as I assumed it was correct.
I have my zencart setup in a subdir so the the url is
http://myipaddress.net/zencart/
The default SSU .htaccess has the RewriteBase set as /zencart/ so I left it as is.
I hope its not a case of SSU only working if the zencart is setup as the root of the url??
I will try setting up a virtual domain to test.
Sorry, not sure if you mean:
1) its not the case that zencart must be in root dir of url,
or
2)not the case that the default RewriteBase is correct??
I am fairly sure there is a problem with the .htaccess file as I did a test with very simple rule in .htaccess to redir * to ssu_check.php and then everything typed in url goes to ssu_check.php
So the way I see it as a total newbie, is that the default SSU .htaccess rules are incorrect (I know nothing about apache so could easily be wrong).
When ssu is enabled all the links on the main page are rewritten but mod_rewrite cannot find them as the rewrite rules don't say how to change the urls to the correct zencart "html GET" format?????
Has anyone got a working .htaccess file they can post, or point me to a quick reference on writing mod_rewrite scripts????
Also may there be problems due to the name and ID delimiters used???
I have not been able to find answers from searching the forums.
Sorry to ask all these (possibly stupid) questions, as I say I'm a newbie, I hope when I have the answers my questions will be able to help others.
Regards to all.