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

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
2
votes
3 answers
54 views

Regex to match non integers?

Trying to create a regex that ignores a proper integer (1, 5, 999, etc) and forward slashes but matches everything else. For example, it would match…
asked June 24, 2011 7:36 pm CDT
Manny Fleurmond
0
votes
2 answers
26 views

Multiple Dynamic SEO/shortened URLs in PHP

I have a PHP system containing user-generated pages, arranged in a complex and non-uniform hierarchy. Pages are created by users, and some pages…
asked June 24, 2011 10:49 am CDT
user814358
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
1 answer
43 views

Htaccess Rewriterule virtual directories breaking all links

I think I've gone through a million articles and everyone's codes on this, but I just can't get it to work! Every code I try works but it shows the…
asked June 24, 2011 8:48 am CDT
scott
0
votes
0 answers
27 views

Mod-rewrite working conditionally

my htaccess file is belkow DirectoryIndex index.php RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2…
asked June 24, 2011 8:36 am CDT
rohit
0
votes
0 answers
33 views

Htaccess: rewriting unlimited subdirectories

I have a fairly complex content management system I've written in PHP, which has unlimited hierarchical categories. Each category has a shortname…
asked June 24, 2011 7:27 am CDT
Nick
0
votes
0 answers
39 views

Htaccess for subdomain

Need help with .htaccess I have website on my localhost with this .htaccess RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f…
asked June 24, 2011 6:18 am CDT
Stasa
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
3 answers
30 views

Alternative to GET and POST methods to send/recieve data from a form...

I am trying to build a web application in PHP. But I dont want to use the GET & POST methods, as user shall know what and how are we sending the…
php web-development web-applications mod-rewrite http-post
asked June 24, 2011 12:58 am CDT
user813515
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
27 views

Using mod_rewrite to disguise php

Using imagecreate I've crafted a nice little IP image like many have seen from Danasoft. I used mod_rewrite to disguise the resulting .php as a…
asked June 23, 2011 12:56 pm CDT
Mahngiel
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
0
votes
2 answers
23 views

Redirecting domain.com to www.domain.com

I want to redirect all requests to http://domain.com to http://www.domain.com , hence I use the following .htaccess placed in the root of my site:…
asked June 23, 2011 10:03 am CDT
pandronic
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
0 answers
36 views

Make post title as a slug in url by mod rewrite

I have previously posted a question but i am not satisfy form answers. Now i have a url.…
asked June 23, 2011 6:05 am CDT
Granadian
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
Pages : 1 | 2 | 3 | 4 | 5 > [78]
1559

mod-rewrite

Tagged: 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