Config Varnish Cache with apache and mod_rewrite

Closed Posted Jul 16, 2015 Paid on delivery
Closed Paid on delivery

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 System Admin

Project ID: #8082598

About the project

9 proposals Remote project Active Aug 22, 2015

9 freelancers are bidding on average $28 for this job

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 More

$34 USD in 1 day
(562 Reviews)
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 day
(64 Reviews)
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 More

$60 USD in 0 days
(6 Reviews)
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 More

$35 USD in 1 day
(3 Reviews)
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. More

$10 USD in 2 days
(5 Reviews)
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 day
(0 Reviews)
0.0
bunty079

A proposal has not yet been provided

$15 USD in 1 day
(0 Reviews)
0.0