
12-29-2012, 01:55 AM
|
|
Member
|
|
Join Date: Dec 2012
Posts: 16
|
|
Hi,
After a few testing now, REWRITE error show up
Quote:
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] [REWRITE] strip base: '/' from URI: '/static/ajax.php'
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] [REWRITE] Rule: Match 'static/ajax.php' with pattern '(.*\.php)?$', result: 2
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] [REWRITE] apply cache-control: 'max-age=120'.
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] [REWRITE] Source URI: 'static/ajax.php' => Result URI: '..#'
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xx.net] [REWRITE] Last Rule, stop!
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] [REWRITE] prepend rewrite base: '/', final URI: '/..#'
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] File not found [/home/marsha/public_html/...]
2012-12-29 04:49:08.271 [INFO] [103.22.201.131:32034-0#APVH_xxx.net] File not found [/home/marsha/public_html/404.shtml]
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] strip base: '/' from URI: '/static/ajax.php'
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] Rule: Match 'static/ajax.php' with pattern '(.*\.php)?$', result: 2
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] apply cache-control: 'max-age=120'.
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] Source URI: 'static/ajax.php' => Result URI: '..#'
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] Last Rule, stop!
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] [REWRITE] prepend rewrite base: '/', final URI: '/..#'
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] File not found [/home/marsha/public_html/...]
2012-12-29 04:49:08.281 [INFO] [103.22.201.125:21705-0#APVH_xxx.net] File not found [/home/marsha/public_html/404.shtml]
2012-12-29 04:49:08.289 [INFO] [103.22.201.131:60088-4#APVH_xxx.net] [REWRITE] strip base: '/' from URI: '/static/ajax.php'
2012-12-29 04:49:08.289 [INFO] [103.22.201.131:60088-4#APVH_xxx.net] [REWRITE] Rule: Match 'static/ajax.php' with pattern '(.*\.php)?$', result: 2
2012-12-29 04:49:08.289 [INFO] [103.22.201.131:60088-4#APVH_xxx.net] [REWRITE] apply cache-control: 'max-age=120'.
|
.htaccess setting
Quote:
######################################
## [PHPFOX_HEADER]
##
## @copyright [PHPFOX_COPYRIGHT]
## @author Raymond Benc
## @package PhpFox
## @version $Id: htaccess.txt 4580 2012-07-31 15:19:24Z Raymond_Benc $
######################################
# Options -Indexes
# Header unset Pragma
# FileETag None
# Header unset ETag
# URL Rewrite
<IfModule mod_rewrite.c>
RewriteEngine On
#
# Full path to your site
#
RewriteBase /
RewriteRule (.*\.php)?$ – [L,E=Cache-Control:max-age=120]
# Rename Photo Names
# RewriteRule ^file/pic/photo/([0-9]+)/([0-9]+)/([A-Za-z0-9]{32}+)\-(.*?)_([0-9]*?)\.(.*)$ file/pic/photo/$1/$2/$3_$5.$6
# RewriteRule ^file/pic/photo/([0-9]+)/([0-9]+)/([A-Za-z0-9]{32}+)\-(.*?)\.(.*)$ file/pic/photo/$1/$2/$3.$5
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?do=/$1
# Image Access Protection
# RewriteRule ^file/pic/photo/(.*)\.(.*)$ static/image.php?file=$1&ext=$2
</IfModule>
|
Please check
Thanks
|