StudioZ wrote:hmmm...
Questions:
01. which PhpWCMS version are you running?
02. all the core hacks done as shown in the install?
03. could need a tweak in your .htaccess file...?
What do you currently have in there?
Thanks,
01. current version (1.2.6)
02. yup..all the hacks with the exception of those following "Further Hints"
03. .htaccess is as follows
Code: Select all
# Prevents access to indexes and redirects to homepage
Options All -Indexes
ErrorDocument 400 http://www.MYURL.com/index.php
ErrorDocument 401 http://www.MYURL.com/index.php
ErrorDocument 403 http://www.MYURL.com/index.php
ErrorDocument 404 http://www.MYURL.com/index.php
ErrorDocument 500 http://www.MYURL.com/index.php
# Enables transparent zlib compression
<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>
# register_globals ON
php_flag magic_quotes_gpc Off
php_flag register_globals Off
RewriteEngine On
# Default ReWrite settings
# ===============================================
# This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
# This will rewrite mypage.phtml => index.php?mypage
RewriteRule ^(.+)\.phtml$ index.php?$1
# This will redirect users from .../admin or .../login to the actual login page
RewriteRule ^/admin/ http://www.MYURL.com/login.php
RewriteRule ^/login/ http://www.MYURL.com/login.php
#This will prevent "hot-linking" to files
RewriteCond %{HTTP_REFERER} !^http://(www\.)?MYURL\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(gif|jpg|jpeg|bmp|png|swl|avi|mpg|zip|pdf|swf|mov|aif|aiff|mpeg|mpeg4|mpeg2|wav|swc|ram|ra|wma|wmv|au|midi|rm|mid)$ img/x.gif [L]
Thanks again for your help!
Further info:
a) This is my second install of phpwcms. On the first install this hack worked fine (this was pre- v2.0).
b) I installed an event calender that seemed to be the catalyst for this trouble, but I don't see how it could've caused RT's to stop working...