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
441 views

.htaccess file not running and internal server error

I am using ubuntu 14.04 and have LAMP environment. I have one of the project in dir /var/www/html/project1 . It can't access the .htaccess file for rewriting url rules. For that i have to change in /...
1
vote
1answer
275 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 ...
1
vote
1answer
478 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 -...
0
votes
1answer
118 views

Apache subdomains wildcard redirection

Is there a way that i can redirect wildcard vhost on apache sub-domains to another domain? i.e, https://abc.domain1.com --> https://abc.domain2.com https://xyz.domain1.com --> https://xyz....
0
votes
1answer
642 views

mod_rewrite 15.04 ubuntu server

I tried to enable mod_rewrite on my new server. I installed LAMP, an configured rest by webmin, but cant run mod_rewrite. I get the Not Found-url page. When i do any changes in configs like 000default....
0
votes
1answer
799 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
2k 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
774 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
170 views

Apache WebServer - url rewriting - hide a part of the url to the client but not for the server

Basically when a client goes on this url: www.mysite.my.domain.com/ he is redirect to that page: www.mysite.my.domain.com/en/sites/myapp/home.html The goal is to hid the part sites/myapp for the ...