Config Varnish Cache with apache and mod_rewrite

Chiuso Pubblicato Jul 16, 2015 Pagato alla consegna
Chiuso Pagato alla consegna

Hello,

my website is currently running with apache and mysql. I want to have varnish running before apache. The problem is that my mod rewrite in the htaccess are not working when varnish is running before apache.

I need someone who can help me with this.

htaccessfile:

Options -MultiViews

RewriteEngine On

RewriteCond %{HTTP_HOST} ^[url removed, login to view]$ [NC]

RewriteRule ^(.*) [url removed, login to view]$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]+)$ [url removed, login to view]$1

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]+)/([^/]+)$ [url removed, login to view]$1&id=$2 [QSA]

ErrorDocument 404 /[url removed, login to view]

Apache Linux Amministratore di sistema

Rif. progetto: #8082598

Info sul progetto

9 proposte Progetto a distanza Attivo Aug 22, 2015

9 freelance hanno fatto un'offerta media di $28 per questo lavoro

linuxfreak1985

Hi there, I am ready to start now, I am expert in - Linux RedHat/Centos and other distributions. Installed and managed thousands of servers. - Amazone WebServices EC2 / SES / AZURE MicroSoft - Asterisk VOIP Servic Altro

$34 USD in 1 giorno
(562 valutazioni)
7.8
jbosseu

Installed and setup varnish on many servers in the past. Even wrote a custom modified version of varnish for cpanel server. Can help you with this, let me know.

$25 USD in 1 giorno
(64 valutazioni)
5.1
Aurora100

Hi there sir! Our team would be glad to assist you in this task as it is exactly within our scope of expertize, so that we can provide you with quick and qualified service. In addition, we will give you one days of Altro

$60 USD in 0 giorni
(6 valutazioni)
3.6
kuldeepvk

Hi, I have more than 6 years experience in setup and management of different Linux web hosting servers like CentOS, RedHat, Ubuntu, Debian etc. I provide so prompt project delivery, thus I perform my responsibili Altro

$35 USD in 1 giorno
(3 valutazioni)
3.1
jasonwee

Hi, guten morgen. I have read your project description and placed my bid. I have experience in apache and mod_rewrite before , kindly consider me in this project. Thank you and looking forward for your respponse. Altro

$10 USD in 2 giorni
(5 valutazioni)
2.6
sysadm1

Hello, I'm a system administrator with a great experience and I can do this fob for you. Also please check my profile and let me know ifyou are interested. Thanks

$25 USD in 1 giorno
(0 valutazioni)
0.0
bunty079

A proposal has not yet been provided

$15 USD in 1 giorno
(0 valutazioni)
0.0