The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
122 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'] ...
0
votes
2answers
194 views

Apache 410 Gone instructions not working with mod_alias nor mod_rewrite

Apache 2.2 (on a server running cPanel) seems to be ignoring instructions to return a 410 status. This happens for both mod_alias's Redirect (using 410 or gone) and mod_rewrite's RewriteRule (using ...
2
votes
1answer
89 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
113 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
78 views

Accessing images outside of httpdocs in plesk

I have a website which I am creating for a photographer, she uses dropbox to share images with some of her clients and she wants the clients who do not use dropbox to be able to access the images ...
0
votes
1answer
44 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
vote
0answers
103 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
18 views

How do I preserve FQDN accross multiple VirtualHost using Redirect (mod_alias)?

I'm trying to use mod_alias - Apache HTTP Server Version 2.4 in order to create simple Redirect, like following: Redirect /123 http://123.%{HTTP_HOST}/123 I have several VirtualHost that are using ...
0
votes
0answers
84 views

Apache Reverse Proxy (Same ProxyPass path but different Destination)

I have a problem here. I am doing reverse proxy for few website in my test server. So , what i have encounter here is that when i request the website from the client , both website request from the ...