XFileSharing Pro - how to rename ?op=my_files ?

Message
Author
PersianShare
Posts: 33
Joined: Nov 04, 2009 2:10 pm

how to rename ?op=my_files ?

#1 Postby PersianShare » Oct 16, 2011 3:57 pm

Hello,

I am looking a way to rename ?op=my_files plus directory names and paginations.

any help will be appreciated

PersianShare
Posts: 33
Joined: Nov 04, 2009 2:10 pm

#2 Postby PersianShare » Oct 17, 2011 8:22 am

Anyone please ?

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#3 Postby nyan » Oct 17, 2011 11:50 am

I guess you can do it via .htaccess but you need to edit index.cgi a bit too I guess

Code: Select all

RewriteRule ^my_files/$ index.cgi?op=my_files [L,NC]
RewriteRule ^my_files/([0-9]+)$ index.cgi?op=my_files&page=$1 [L,NC]
RewriteRule ^my_files/dir/([0-9]+)$ index.cgi?bla&fld_id=$1 bla
RewriteRule ^my_files/dir/([0-9]+)/([0-9]+)$ index.cgi?bla&fld_id=$1&page=$1 bla
Something like that would work

PersianShare
Posts: 33
Joined: Nov 04, 2009 2:10 pm

#4 Postby PersianShare » Oct 21, 2011 7:48 am

Thank you very much,

But would you please tell me what changes I should make in index.cgi ?