2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by fatihpiristine
0

instead of sending your form via "get", send it via "post". It is all hidden from the querystring. That's all you need to do.

Well, that above makes it come out to www.myhost.com/index.asp

if you wish to get it to be www.username.myhost.com then it deals with apache language and the .htaccess file. It's a rewrite file that will rewrite all your urls to the correct format. Something like this would go as:

RewriteEngine on 
Options +FollowSymlinks 
RewriteCond %{HTTP_HOST} !^(www\.)?mysite\.com$ [NC] 
RewriteCond %{HTTP_HOST} ^(www\.)?([^.]+)\.mysite\.com$ [NC] 
RewriteRule ^([^.]+\.asp)?$ http://www.mysite.com/$1?subd=%2 [L]

Don't quote me on this code, but at least now you know what you're into and where to look.

It's apache with an .htaccess file.

0

thank you for the idea...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.