Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

apache mod-rewrite

0
votes
0 answers
47 views

APACHE : performance impact of order of rewrite rules when using apache mod_rewrite

while i have read about the 'sometimes un-obvious way' that mod_rewrite handles the various rewrite rules you feed it (eg: first reading…
asked June 25, 2011 9:24 am CDT
anonymous-one
1
vote
1 answer
48 views

Tricky mod_rewrite challenge

Fraternal greetings StackOverflowers.. I list about 9,000 records on my little site. At the moment I'm showing them with a dynamic page, like…
asked June 25, 2011 2:30 am CDT
And Finally
0
votes
2 answers
49 views

Mod rewrite problem

I have this to overwrite http://mysite.com/intranet/symlinks/site.com to http://mysite.com/site.com or http://mysite.com/intranet/symlinks/site.net…
asked June 24, 2011 9:24 am CDT
rootatwc
0
votes
0 answers
32 views

Held needed with a slightly complex htaccess workaround for multisite!

I want to build a multisite structure. I have got a directory structure like the following : where home contains the main code and other folder…
asked June 24, 2011 3:15 am CDT
user546305
0
votes
1 answers
31 views

Help with simple mod_rewrite needed

My site uses mod_rewrite for most URL's within the site. eg. domain.com/contact.htm domain.com/product/details.htm I've had domain.com/contact.htm…
asked June 23, 2011 6:09 pm CDT
Craig White
0
votes
0 answers
28 views

Using .htaccess to make a directory look like it doesn't exist.

.htaccess is super confusing so I just want to see if anyone can find anything wrong with this snippet. I needed to make two directories appear as…
asked June 23, 2011 4:18 pm CDT
JDavis
0
votes
0 answers
33 views

What would cause a redirect from example.com to www.example.com, not to work?

I'm using a very standard set of Rewrite rules for redirecting to the www domain. It works on one of my servers but not on the other. I cant for the…
asked June 23, 2011 1:50 pm CDT
codeninja
0
votes
0 answers
28 views

Apache 2.2 redirect to SSL *then* do auth (with solution < but is it crap?)

Seems to be the place for apache so here goes :) Age old problem: how so I redirect HTTP->HTTPS, then and only if HTTPS, do an auth? Oh - and I'd…
asked June 23, 2011 12:47 pm CDT
Tim Watts
2
votes
3 answers
46 views

Htaccess: Redirect file.php to file.html, and block direct access to the file.php at the same time.

I would like to redirect a url help.html to help.php (internally) using .htaccess rewrite, but at the same time, I would like to give a 404 error…
asked June 23, 2011 7:40 am CDT
Tony
0
votes
2 answers
36 views

Multiple custom routes with apache

I would like to set up multiple routes using apache but am completely stumped as to how to do it? I have a nodejs instance which serves up my home…
asked June 23, 2011 4:18 am CDT
mrwooster
0
votes
2 answers
37 views

Mod_rewrite is ignoring rules in subdirectories

Full .htaccess: # Unicode AddDefaultCharset utf-8 # Activate mod_rewrite RewriteEngine on RewriteBase / # Subdomains # Extract (required) subdomain…
asked June 22, 2011 4:22 pm CDT
silvinci
0
votes
0 answers
30 views

Help understanding mod_rewrite

Let's say I have the following filesystem setup on my webserver: /www/web/foo/widget.php ... /www/app/mvc/controllers/WidgetController.php I need to…
asked June 22, 2011 3:21 pm CDT
Pam
0
votes
0 answers
29 views

I need to write a RewriteCond which checks for "blogs" word in request_uri, only then proceed ahead

Something like this - RewriteCond %{REQUEST_URI} ^/xml/abc/http://blogs.* is this syntactically correct , would appreciate any help on this.
asked June 22, 2011 11:44 am CDT
SMG
0
votes
1 answer
35 views

Mod_rewrite not working for Apache 2.2 on Windows 7

I have WampServer up and running on my Windows 7 machine. It is installed in C:/wamp. I have set up my configuration using the following…
asked June 22, 2011 11:34 am CDT
Cinegod
0
votes
0 answers
49 views

If rewrite map doesn't exist got to 404

I've created a rewrite map that's working well: .htaccess RewriteRule ^([^/\.]+)/?$ index.php?page=${mymap:$1} [L] mymap.txt home 1 about 2 contact…
asked June 21, 2011 6:22 pm CDT
Pardoner
1
vote
2 answers
35 views

.htaccess RewriteRule for Flat Links

I am pretty new to using the RewriteRule, so I am likely missing something obvious, but I have a PHP script that takes URL variables like this:…
asked June 21, 2011 12:00 pm CDT
DaveL
0
votes
1 answer
29 views

Starting a directory with a + in a URL

For long and complicated reasons which I won't go into, is there any reason why you can't start a 'directory' with a + ? For example…
asked June 21, 2011 11:04 am CDT
DaisyK
0
votes
1 answer
37 views

Mod_rewrite changes MIME types .css/.js -> html

I have an issue with mod_rewrite, I have a .htaccess set up in directory called cms: Options +FollowSymLinks RewriteEngine on #rewrite rules for…
asked June 21, 2011 10:04 am CDT
liamfriel
0
votes
0 answers
31 views

Mod_rewrite Remove .php not working

RewriteEngine on RewriteCond %{http_HOST} ^domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f…
asked June 21, 2011 12:03 am CDT
samseaborn
0
votes
1 answers
28 views

.HTACCESS MOD_REWRITE FLat Links Issue

I am having a few problems re-writing flat links using htaccess, I have two sets of rules which independently work perfectly well but when put…
asked June 20, 2011 11:16 am CDT
64k
Pages : 1 | 2 | 3 | 4 | 5 > [33]
660

apache mod-rewrite

Tagged: apache + mod-rewrite
Related Tags
.htaccess × 737
apache × 659
php × 278
url-rewriting × 142
redirect × 110
apache2 × 102
regex × 101
url × 74
rewrite × 65
wordpress × 57
codeigniter × 32
subdomain × 25
seo × 21
urlrewrite × 16
http × 15
html × 14
redirection × 14
apache2.2 × 13
domain × 13
drupal × 12
httpd × 12
nginx × 12
mod-proxy × 11
mysql × 11
ssl × 11
webserver × 10