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

apache rewrite

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
0 answers
35 views

Http host, use proxy or rewrite, or my own script?

I have a tomcat application that runs on localhost:8083 and the application actually checks what hostname is calling it and invokes different logic…
asked June 21, 2011 1:18 pm CDT
RockWood
0
votes
0 answers
43 views

Just another apache to nginx rewrite question

I have the following Apache rewrite directives: RewriteCond %{REQUEST_URI} ^/proxy(/|$) [NC] RewriteCond %{QUERY_STRING} (^|&)uri=(.*?)(&|$)…
asked June 21, 2011 2:15 am CDT
Brandon
0
votes
1 answers
29 views

How can i force handling .../ih/... as a php script

I have numerous index.php scripts using SEO-friendly arg format like example.com/path/to/index.php/opt/arg and would like to rewrite or force a…
asked June 16, 2011 11:53 am CDT
david t-g
0
votes
0 answers
36 views

Apache RewriteRule requires trailing slash at the end of url to work

Ok so i have a url like domain.com/item/item_id/item_description/page when i type the link without /page on the url it throws a 404 error and i have…
asked June 12, 2011 3:52 am CDT
fxuser
1
vote
0 answers
30 views

Apache Rewrite: Subdomains and segments

I would like domain.com/subdomain to point to the local file /var/www/subdomain.domain.com/public automatically, not manually, if that's possible.…
asked June 9, 2011 9:33 am CDT
Kevin Brown
0
votes
1 answer
24 views

Rewrite query string

i have a url "www.abc.com/index.php?page/Secure" and i want to access it with "www.abc.com/secure" im trying to add .htaccess loging for…
asked June 5, 2011 9:08 pm CDT
heshan
0
votes
0 answers
29 views

Apache rewrite returns error 500

Hey I'm trying to figure out what I'm doing wrong with this .htaccess rewrite: Options -Indexes RewriteEngine on RewriteBase /test/site/…
asked June 3, 2011 9:23 pm CDT
The Devil
0
votes
1 answers
36 views

Htaccess redirect subfolders also

Hi, I am new to htaccess rules. I have tried to search about my questionm but couldn't get the answer, so I am writing the question here. I have the…
asked June 2, 2011 9:33 pm CDT
Codera Purpa
0
votes
1 answers
36 views

How to properly force HTTPS on specific pages using Apache

I would like to force my signup page to https, and allow all other pages to be browsed using https or http (e.g., http://www.example.com/signup…
asked June 2, 2011 12:27 pm CDT
Ken
1
vote
1 answer
32 views

Isapi rewrite rules remove blog from wordpress url

while i am new to rewrite I will try to outline this problem in english first than start a thread on how to fix this issue with all your help. I am…
asked June 2, 2011 10:44 am CDT
chris hough
-1
votes
1 answer
30 views

Help with Mod_rewrite

Hello, I want to use mod_rewrite to do urls like this: http://domain.tld/id/1/type/2/url/http://domain2.tld How can I do that?
asked June 1, 2011 1:31 pm CDT
Bogdan
0
votes
2 answers
23 views

Redirect all non www visitors to the www

Hi Guys, I keep getting variations of the following answer, and it doesn't work RewriteCond %{HTTP_HOST} !^www.alwaysroaming.com$ RewriteRule ^(.*)$…
asked June 1, 2011 7:25 am CDT
Jason
0
votes
0 answers
35 views

Always load one file with .htaccess

I can't get this to work; It should do these things: Always load 'page.php' (when file does not exists on server). .include is an existing folder.…
asked May 30, 2011 10:58 am CDT
Kevin
0
votes
0 answers
34 views

Apache rewrite rule not working

Hi guys, I'm following this guide trying to rewrite my URLs from www.domain.com/index.php?page=foo to www.domain.com/foo/, and it's not working.…
asked May 27, 2011 6:05 am CDT
Jon Selmer
0
votes
1 answers
60 views

Virtual host conf file redirect adds local file path

I'm adding the following rewrite to the conf file for my virtual host: RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*)…
asked May 25, 2011 3:19 pm CDT
Ashley
0
votes
1 answers
34 views

Apache rewrite for 404: getting the requested url

On my error page that I redirect to for any 404s, I'd like to record the url that the user tried to get to. I've tried this but it doesn't work:…
asked May 24, 2011 5:16 pm CDT
gio
0
votes
3 answers
31 views

Rewrite rule htaccess - how to get back query sting for usage

there is a way to get query string back in PHP? I have: http://mywebsite.com/cars/BMW/ http://mywebsite.com/List.php?categories= /cars/BMW/…
asked May 24, 2011 5:08 am CDT
morowind
0
votes
1 answers
36 views

Allow GET Variable Inside HTACCESS Rewrite

Right now I have a rewrite rule that looks like this: RewriteRule ^product-([a-z^-]+).php /sample.php?m=$1 If I try going to "product-test.php", it…
asked May 23, 2011 9:33 am CDT
elbrian87
0
votes
1 answer
34 views

Mod_rewrite url capitalization question

I'm considering using apache's mod_rewrite module to capitalize a single character in my domain name as presented to a user. For example:…
asked May 22, 2011 1:36 pm CDT
Casey Flynn
Pages : 1 | 2 | 3 | 4 | 5 >
83

apache rewrite

Tagged: apache + rewrite
Related Tags
.htaccess × 111
apache × 83
mod-rewrite × 65
nginx × 60
redirect × 30
php × 28
url × 27
regex × 23
wordpress × 15
subdomain × 11
mod × 8
ssl × 7
lighttpd × 7
apache2 × 6
proxy × 5
https × 5
rule × 5
domain × 5
rules × 4
seo × 4
isapi × 3
query × 3
www × 3
clean-urls × 3
condition × 2
urlrewrite × 2