TRying to get bloody mod rewrite subdomains to work...

I am trying to get:

anything.mydomain.com -> mydomain.com/~anything/

Does anyone know PERFECT code to get this to work? I either get 404 or 500 errors. I have wild carded entries in /var/named/mydomain.com.db and in httpd.conf.

Without the .htacess,

ANYTHING.mydomain.com READS files from www.mydomain.com , and I am trying to get it to read from the subfolders if they exist.

I dug up a old thread that has what I am trying to do, but It is really dead.

http://www.webhostingtalk.com/member...ter&forumid=73

Assitance is vrey much appreciated, I wasted 5 hours yesterday trynig to get this working without luck, I searched google and mod-rewrite.com, no luck.

 

 

 

 

Top