GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 26-Oct-2008, 09:20
orhhun orhhun is offline
New Member
 
Join Date: Oct 2008
Posts: 1
orhhun is on a distinguished road

htaccess in subdomin


i prefer to use htaccess file to make seo links in my site.
and last week, i started to make htaccess file for my subdomains.

i am using this code on my base directory of subdomain:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^folder/(.*) page.php?who=$1

i want this:
when i write: subdomain.site.com/folder/kelly
it must be opened: subdomain.site.com/page.php?who=kelly


but its not working fine with this code

there is an interesting point:
when i write the adress like this:
site.com/subdomain/folder/kelly = ok, its working with the code above
but if i write this:
subdomain.site.com/folder/kelly = its not working with the same code

do u have any idea about it? what must i do?
(my subdomanis are not fake)
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
overridiing htaccess hame22 Apache Web Server Forum 1 10-Mar-2007 10:17
htaccess basic authentication just stops working zoolander Apache Web Server Forum 0 12-Jan-2007 12:41
htaccess confllic! kzar Apache Web Server Forum 0 12-Jan-2006 06:47
Basic htaccess Question justinhn Apache Web Server Forum 3 13-Jun-2005 08:20
bypass htaccess fraggle two Apache Web Server Forum 3 11-Nov-2003 03:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:18.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.