subdomain .htaccess
Started on the old forum in February 2011 · view the original in the archive · old links redirect here
yap baby, its possible
enable wildcard dns and *.sitename.com in httpd.conf
He will need to define the htaccess mapping as well. To map subdomain to folder.
Perfection comes at a cost
I accept liberty!
Btw, guys, is it possible to make something like: whatever.domain.com to domain.com/whatever even if the subdomain whatever.domain.com is not registered?
mysterio.al - programming is a functional art
Make a folder *
then add
RewriteEngine On
RewriteCond %{REQUEST_URI}!^/sd_
RewriteCond %{HTTP_HOST}!^www\.example\.com$ [NC]
RewriteCond %{HTTP_HOST} ^([^.]+)\.example\.com
RewriteRule (.*) /%1/$1 [L]
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…