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

apache .htaccess

0
votes
0 answers
114 views

Some advice/tips on htaccess redirect to preserve Search Engine rankings

I'm setting up a site redesign and I want to preserve my page rank. The old site existed in the subdirectory textsite. Ive moved all pages to the…
asked June 25, 2011 10:08 am CDT
cronoklee
0
votes
0 answers
52 views

How can I get the user's IP while using both CloudFlare and MaxMind's GeoIP with mod_geoip?

CloudFlare provides the user's country from the originating IP but I need location on a city level so I've added MaxMind's GeoCityLite using the…
asked June 24, 2011 11:35 am CDT
user577660
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
47 views

Where to install ssl

is it usually advisable to install a single domain ssl certificate to the main domain --domain.com and use .htaccess to go in and out of ssl or to a…
asked June 23, 2011 6:57 pm CDT
jfortunato25
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
1 answer
33 views

Htaccess http_host question about www

I'm using the following rule to redirect domain.com to https://mail.google.com/a/domain.com so my clients can check their mail. RewriteRule ^mail…
asked June 23, 2011 10:32 am CDT
cronoklee
0
votes
2 answers
28 views

Replacing subdomain of a URL

I've got a customer that has two websites, the only difference being the subdomain. Let's call them www.customerwebsite.com and…
asked June 23, 2011 8:00 am CDT
Eclyps19
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
35 views

Htaccess: how redirrect site.com/anything to script site.com/seoparser.php?anything

How redirrect site.com/anything to script site.com/seoparser.php?anything using htaccess this doesnt work RewriteEngine on RewriteRule (.*)…
asked June 23, 2011 5:26 am CDT
Jiří Doubravský
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
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
3 answers
29 views

How secure is .htaccess password protection?

Is password protecting a directory with .htaccess the best way to prevent its files from being seen by unauthorized users? Are there any…
asked June 22, 2011 9:28 am CDT
skoshy
2
votes
3 answers
22 views

Htaccess conditional rewrite

I am fiddling around with .htaccess and mod_rewrite. I have a site that has two types of URLs which I want to rewrite: /index.php?nav=$2…
asked June 22, 2011 3:29 am CDT
Hans Wassink
0
votes
0 answers
70 views

Apache is rewriting to index.php, but does not attach the query string

I am trying to get .htaccess to work in my localhost (I've got Mac OS X 10.5). I enabled .htaccess by following articles like this one . But…
asked June 21, 2011 5:38 pm CDT
user809356
1
vote
0 answers
53 views

Basic Auth on DirectoryIndex Only

I am trying to configure basic auth for my index file, and only my index file. I have configured it like so: <Files index.htm> Order…
asked June 21, 2011 4:54 pm CDT
Brad
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
Pages : 1 | 2 | 3 | 4 | 5 > [34]
673

apache .htaccess

Tagged: apache + .htaccess
Related Tags
mod-rewrite × 737
apache × 673
php × 554
redirect × 322
url-rewriting × 131
wordpress × 116
rewrite × 111
regex × 102
url × 90
apache2 × 80
codeigniter × 67
subdomain × 56
html × 42
redirection × 40
domain × 32
seo × 30
linux × 28
security × 27
https × 25
server × 25
drupal × 23
ssl × 22
javascript × 22
php5 × 21
urlrewrite × 19
cakephp × 17