plz help me~ sub domain and mod_rewrite problem~ |
[eluser]Unknown[/eluser]
HI ~ all... i have alwayss some problem~ but this's problem very difficult ~ plz help~ CI families~ OK.. my question is,... i want this url ex) http://ID.site.com -> http://www.site.com/myphoto/ID myphoto is controller... ID is params how to set .htaccess... i now.. RewriteCond $1 !^(index\.php|css|js|inc|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteRule ^(.*)$ index.php/$1 [L] #RewriteRule ^(.+) %{HTTP_HOST}$1 [C] #RewriteRule ^([^.]+)\.site\.com(.*) /var/www/html/index.php?c=myphoto&m=allphotos&user;_id=$1 plz help me~ THx..All..
[eluser]alexsancho[/eluser]
You can try this, Code: RewriteEngine On Untested, but should work
|
Welcome Guest, Not a member yet? Register Sign In |