I have this rewrite rule:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^.]+)\.myhp\.dk$
RewriteCond %{1} !^www$
RewriteCond c:/ -d
RewriteCond %{REQUEST_FILENAME} !^c:/RewriteRule (.*) c:/ [l]
It's placed in my .htaccess on
When I visit myhp.dk it works but when I try to visit ns-ekstra.myhp.dk e.g. I get this error:
You don't have permission to access /c:/ on this server.
Can anybody help me to get this rewrite work?
I would like to lead users who vist asubdomain.myhp.dk to myhp.dk/asubdomain.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^.]+)\.myhp\.dk$
RewriteCond %{1} !^www$
RewriteCond c:/ -d
RewriteCond %{REQUEST_FILENAME} !^c:/RewriteRule (.*) c:/ [l]
It's placed in my .htaccess on
When I visit myhp.dk it works but when I try to visit ns-ekstra.myhp.dk e.g. I get this error:
You don't have permission to access /c:/ on this server.
Can anybody help me to get this rewrite work?
I would like to lead users who vist asubdomain.myhp.dk to myhp.dk/asubdomain.