Hi All,
I'm having some trouble at the moment with a rewrite rule which keeps
the filled in domainname in the addressbar of the browser.
I want to rewrite:
sub.foo.tld - foo.tld/foo/sub
as sub is %1 and foo is %2 I thought this would do the trick.
RewriteCond %{HTTP_HOST} ^([^.]+)\.foo\.tld$
On Mar 21, 2012, at 8:09 PM, Chris Arnold wrote:
Apache 2.2.12 on SLES11 SP2. I am trying to get a subdomain working via a
rewrite rule, http://helpdesk.teknerds.net.
The rule is in its own vhost (helpdesk.teknerds.conf. I am confused if it
needs its own vhost or if the rewrite should go
Apache 2.2.12 on SLES11 SP2. I am trying to get a subdomain working via a
rewrite rule, http://helpdesk.teknerds.net.
The rule is in its own vhost (helpdesk.teknerds.conf. I am confused if it needs
its own vhost or if the rewrite should go in teknerds.conf vhost) and follows:
VirtualHost *:80