The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
238 views

Alias or redirect or rewrite

Roundcubemail and Owncloud folders live on the document root but because of the limitations of the Roundcube OwnCloud Plug-in I have to organise the vhosts as below. $rcmail_config['owncloud_url'] ...
2
votes
1answer
123 views

Apache: Serving same file on multiple vhosts using regex

I have various virtual hosts (vhosts) setup on an Apache 2.2 server such as: examplea.domain exampleb.domain testsitea.domain testsiteb.domain testsite.domain othersitea.domain On virtual hosts ...
1
vote
1answer
115 views

What .htaccess directives do I use to securely redirect www_public to www_my_new_public?

I'm moving a site to a new shared host. I want to have a folder of php includes below the live directory and available to public php pages. What directives should I add to the .htaccess file in ...
0
votes
1answer
407 views

The Alias directive will probably never match because it overlaps an earlier Alias

Ok, not sure why this is occuring. So, I get the message The Alias directive in /etc/httpd/conf.d/awstats.conf at line 3 will probably never match because it overlaps an earlier Alias. and The ...
0
votes
1answer
52 views

single page redirect 301 not working according to the rules in .htaccess

redirect 301 /Produkte/Supplements http://xxx.xx/Produkte/Inhaltsstoffe/Proteine why does this rule also redirects /Produkte/Supplements/xyz to ...
-1
votes
1answer
31 views

symlink to PHP file not handled as PHP

I have PHP5 installed on an Ubuntu 14.04 server and it works fine. I create a file called foo.php anywhere in the document tree and it gets passed to the PHP interpreter just as you'd expect. ...
1
vote
0answers
114 views

Apache 2.2 RedirectMatch behaviour in a Directory context?

What is the URL provided to a RedirectMatch in a Directory context? Does Apache remove the part of the URL up to the current directory? For context, I am trying to write a RedirectMatch in a ...
0
votes
0answers
41 views

301 redirect with mod-alias and mod-rewrite

my htaccess file has these lines: RewriteRule ^newlink ?do=something Redirect 301 /oldlink/ /newlink when i write http://www.example.com/oldlink/, browser redirects to ...