Forum Moderators: phranque

Message Too Old, No Replies

.htaccess help me

         

prynut

1:24 pm on Jan 31, 2006 (gmt 0)

10+ Year Member



default url http://www.example.com/test/blog/userwxyz/

in the .htaccess code
---------------------------------

RewriteEngine On
Options +Followsymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.* - [L,QSA]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^interest/([^/]+)/?$ /test/blog/interests.php?i=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^.*/images/([^/]+)/?$ /test/blog/images/$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/friends/?$ /test/blog/friends.php?u=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/page([0-9]+)/?$ /test/blog/index.php?u=$1&page=$2 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/profile/?$ /test/blog/profile.php?u=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/archive/([^/]+)/([^/]+)/?$ /test/blog/archive.php?u=$1&y=$2&m=$3 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/archive/([^/]+)?/?$ /test/blog/archive.php?u=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/archive/?$ /test/blog/archive.php?u=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/([0-9]+)/?$ /test/blog/entry.php?u=$1&e_id=$2 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/?$ /test/blog/index.php?u=$1 [L]
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^([^/]+)/([^/]+)/?$ /test/blog/index.php?u=$1&category=$2 [L]
-----------------------------------
i need chang to subdomain
i cannot chang .htaccess code
you all help me!

thank

[edited by: jdMorgan at 2:34 pm (utc) on Jan. 31, 2006]
[edit reason] Example.com [/edit]

jdMorgan

2:37 pm on Jan 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Prynut,

You question is not clear.

If you mean that you are not allowed to change the .htaccess file, then you may not be able to solve the problem at all. Please try to clarify your question.

Jim