I've been working at this for days and couldn't figure out why a
mod_rewrite rule wasn't working. My situation was that I wanted to
redirect this:
http://domain.com/unique_directory/whatever
to
https://domain.com/unique_directory/whatever
While not redirecting http://domain.com/other_direct
Eric Covener wrote:
On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson wrote:
RewriteRule ^/(.*) http://www.alchemistswarehouse.com/$1 [R]
I have tried putting this code in my .htaccess file in different places but
it doesn't seem to have any effect. I've even removed th
I'm trying to use mod_rewrite to rewrite the URL displayed in the
browser address bar to the "www." form as described here:
http://httpd.apache.org/docs/2.0/rewrite/rewrite_guide.html#canonicalhost
This particular site is a ZenCart installation that is hosted. Thus I
have to use .htaccess fil
Drew Tomlinson wrote:
MK wrote:
On 10/20/2009 11:26:45 AM, André Warnier wrote:
What do you get when you enter :
ping dev.docsearch.net
in a command window on your workstation ?
On the working VH's, the ping goes thru. On the non-working one, I
get "unknown host"
MK wrote:
On 10/20/2009 11:26:45 AM, André Warnier wrote:
What do you get when you enter :
ping dev.docsearch.net
in a command window on your workstation ?
On the working VH's, the ping goes thru. On the non-working one, I get
"unknown host".
I'm totally baffled by this. I keep s
ML wrote:
Hi Tom,
Say I have a directory of files that contain my MySQL connection
information, queries, etc, etc.
How do I prevent people from browsing the directory but allow the
files to still be used when I include them in a page. Say to connect
to MySQL.
Don't ever put them inside your
Jonas Eckerman wrote:
Drew Tomlinson wrote:
The other is new. What I want is that if I enter the blog via
http://fatblog.freehealthupdates.com/$1, that URL remains in the
address bar of the browser and only the /$1 part would change. As it
stands now, if I enter via that URL, after the
Davide Bianchi wrote:
Drew Tomlinson wrote:
The two URLs are:
http://drew.mykitchentable.net/fatblog
http://fatblog.freehealthupdates.com
The first one is not a domain name, but a domain name + a subdir, that
make me think that you already have some sort of rewrite or redirect
rule
I'm running Apache 2.2.9 and am trying to grasp domain masking (I hope
that's the right term). Basically I have two virtual hosts defined on
my server that both point to the same DocumentRoot directory. The
directory is a wordpress installation if that matters.
The two URLs are:
http://drew
[EMAIL PROTECTED] wrote:
Your output shows that the two undefined symbols are used/referenced in
libapr-1.so. I would check over the build of your libapr and/or apr
utils.
I compiled Apache on Solaris 10 a couple of months ago and had issues
with apr. Something about Solaris putting apr st
[EMAIL PROTECTED] wrote:
according to php document root it is the path. htpasswd is not under
root. it is under a folder in the alias folder. the question is when
the htaccess AuthUserFile ooks for the htpasswd file is it looking in
at the "alais" or the D:/ directory?
It is looking for it he
Sheryl wrote:
Are you aware that there is no such module in 2.2.x? Most of the auth
modules were renamed. You probably want to load mod_ldap and
mod_authnz_ldap.
No I was not aware. Thank you. However I am still out of luck as there
is no module with "*ldap*" in the name. :(
I was able to compile Apache 2.2.9 from source. For the archives and
others dealing with Solaris, I had to add "/usr/ccs/bin" to my path to
resolve a "ar: command not found" message. I also found this post
helpful in converting my 2.0 conf files to 2.2:
http://www.issociate.de/board/post/46
Jorge Medina wrote:
I would trust more an Apache version that you compiled yourself, since
this guarantees you have all dependencies installed.
The online building documentation is good:
http://httpd.apache.org/docs/2.2/install.html
Building it from scratch seems more difficult that what it ac
Dan Poirier wrote:
On Fri, 26 Sep 2008 10:30:39 -0700, "Drew Tomlinson"
<[EMAIL PROTECTED]> said:
I used the Apache 2.2.6 package from SunFreeware to upgrade various
Sparc servers running Solaris 8 and 9. However this package does not
include mod_auth_ldap which is needed
I used the Apache 2.2.6 package from SunFreeware to upgrade various
Sparc servers running Solaris 8 and 9. However this package does not
include mod_auth_ldap which is needed for a few of the sites. I've
Googled and only turned up a lot of pages detailing compiling problems.
I have not compi
[NC]
Or even (which doesn't force the requirement of "www")
RewriteCond %{HTTP_HOST} consumer-sc\.ca\.gov$ [NC]
Thank you very much! That was it.
Drew
--
Be a Great Magician!
Visit The Alchemist's Warehouse
http://www.alchemistswarehouse.com
-Original M
I'm using Apache version 2.2.6 with dynamic modules. I'm trying to use
mod_rewrite to change a URL. Specifically, if someone enters:
http://www.consumer-sc.ca.gov
I want to redirect him and make his browser window show:
http://www.consumerservices.ca.gov
Both domains resolve to the same IP
18 matches
Mail list logo