The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly.

learn more… | top users | synonyms

1
vote
1answer
54 views

How to add and enable rewrite module in manually installed apache httpd web server?

I installed apache httpd server by compiling source on Kubuntu 14.10. I followed wget http://www.us.apache.org/dist//httpd/httpd-2.2.29.tar.gz tar -xzf httpd-2.2.29.tar.gz cd httpd-2.2.29 ./configure ...
1
vote
1answer
3k views

How can I enable mod_rewrite logs?

I'm having trouble with my .htaccess redirects, and I want to enable logs on the the mod_rewrite module so I can figure out what's going on. The trouble is, httpd.conf doesn't seem to exist anymore in ...
0
votes
1answer
15 views

Problem using mod_rewrite to support canconical URL

I'm having some difficulty with mod_rewrite and suspect I'm making a basic error. My goal is to set-up a canonical form on my server so that all access (by domain or IP address) goes without ...
0
votes
1answer
586 views

.htaccess Apache Mode Rewrite not Working

New to Ubuntu and trying to set-up PHP environment. Now most of the things are set but .htaccess file not working at all for my CMS. I have two sites /var/www/one/ and /var/www/two/ now when I hit ...
0
votes
1answer
961 views

How To Write To SD card

I heard of people saying they could if they did it as a root user. How do I do that. When I tried to write to sd card . . . I got a read only error. Permissions says Owner: me Access: Create and ...
0
votes
1answer
574 views

Url rewrite does not work ubuntu server

Currently I am working with a php script but it still contains an unfriendly link (cms.php?Cms=login). I want to turn it into a friendly link /cms/login I have an .htaccess file is created ...
0
votes
0answers
25 views

Why do I get 404 on LAMP Permalinks (Using wordpress)

I have been working on a website on an ubuntu server (amazone) and I get 404s entering pages. I'll give all the information I can regarding the problem. On WordPress Refresh page: I ...
0
votes
0answers
31 views

Apache2 rewrite config does not work, and no log displayed

I am running a VPS from ovh.com, using Ubuntu 14.04 LTS server, Apache2, Tomcat 7. There, I developed a website with J2EE and associated Apache2 with Tomcat using mod_jk. When I enter the URL ...
0
votes
0answers
34 views

RewriteRule doesn't work. How can I fix it?

This is my .htaccess code RewriteEngine On RewriteCond %{REQUEST_URI} !^/css RewriteCond %{REQUEST_URI} !^/js RewriteRule ^(.*)$ index.php?$1 [QSA,L] but the RewriteRule doesn't work. I using ...