To remind you of, I have already done a number of actions:
1. Enable Apache's mod_rewrite;
2. Modified "$ nice_url = true;";
3. open "gfe\.htaccess" and modify:
begin:
# BEGIN GFE
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /files/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sortby/(.+[^/])/sortorder/(.+[^/])/?$ /files/index.php?by=$1&order=$2 [QSA,L]
RewriteRule ^browse/(.+[^/])/sortby/(.+[^/])/sortorder/(.+[^/])/?$ /files/index.php?dir=$1&by=$2&order=$3 [QSA,L]
RewriteRule ^browse/(.+[^/])/?$ /files/index.php?dir=$1 [QSA,L]
RewriteRule ^viewing/(.+[^/])/?$ /files/view.php?file=$1 [QSA,L]
RewriteRule ^download/(.+[^/])/?$ /files/view.php?file=$1&dl=1 [QSA,L]
</IfModule>
# END GFE
end:
# BEGIN GFE
<IfModule Mod_rewrite.c>
RewriteEngine On
RewriteBase / gfe /
RewriteCond% (REQUEST_FILENAME)!-F
RewriteCond% (REQUEST_FILENAME)!-D
RewriteRule ^ sortby /(.+[^/])/ sortorder /(.+[^/])/?$ / gfe / index.php? By = $ 1 & order = $ 2 [QSA, L]
RewriteRule ^ browse /(.+[^/])/ sortby /(.+[^/])/ sortorder /(.+[^/])/?$ / gfe / index.php? Dir = $ 1 & by = $ 2 & order = $ 3 [QSA, L]
RewriteRule ^ browse /(.+[^/])/?$ / gfe / index.php? Dir = $ 1 [QSA, L]
RewriteRule ^ viewing /(.+[^/])/?$ / gfe / view.php? File = $ 1 [QSA, L]
RewriteRule ^ download /(.+[^/])/?$ / gfe / view.php? File = $ 1 & dl = 1 [QSA, L]
</ IfModule>
# END GFE
ps:
My platform is win2003 :
+ Apache 2.2.9
+ MySQL 5.0.67 (Community Server)
+ PHP 5.2.6 + PHP 4.4.9 + PEAR
+ PHP-Switch win32 1.0 (use "php-switch.bat" in the xampp main directory)
+ XAMPP Control Version 2.5 from
www.nat32.com + XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8i
+ phpMyAdmin 2.11.9.2
+ ADOdb 4.990
+ Mercury Mail Transport System v4.52
+ FileZilla FTP Server 0.9.27
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.3 f黵 PHP 5.2.6 (but not activated in the php.ini)
I was lucky, she finally had to work.
Thank you for providing such a useful tool, the same would also like to thank you for their selfless help.