[users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread Drew Tomlinson
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

[us...@httpd] ModRewrite Help

2010-01-20 Thread Drew Tomlinson
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

Re: [us...@httpd] ModRewrite Help

2010-01-20 Thread Drew Tomlinson
Eric Covener wrote: On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson d...@mykitchentable.net 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

Re: [us...@httpd] Virtual Hosts problem

2009-10-20 Thread Drew Tomlinson
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

Re: [us...@httpd] Virtual Hosts problem

2009-10-20 Thread Drew Tomlinson
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. I'm totally

Re: [us...@httpd] Directory Permssions

2009-07-17 Thread Drew Tomlinson
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

Re: [us...@httpd] Domain Masking (I think?)

2009-05-24 Thread Drew Tomlinson
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

Re: [us...@httpd] Domain Masking (I think?)

2009-05-24 Thread Drew Tomlinson
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

[us...@httpd] Domain Masking (I think?)

2009-05-23 Thread Drew Tomlinson
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:

Re: [EMAIL PROTECTED] Error when compiling apache 2.2.10 on solaris 10, suggestions?

2008-10-28 Thread Drew Tomlinson
[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

Re: [EMAIL PROTECTED] mod_auth_ldap

2008-10-03 Thread Drew Tomlinson
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. :(

Re: [EMAIL PROTECTED] Protecting a Directory

2008-10-03 Thread Drew Tomlinson
[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

Re: [EMAIL PROTECTED] mod_auth_ldap

2008-09-27 Thread Drew Tomlinson
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 for a few of the sites

Re: [EMAIL PROTECTED] mod_auth_ldap

2008-09-27 Thread Drew Tomlinson
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

Re: [EMAIL PROTECTED] mod_auth_ldap -- Solved

2008-09-27 Thread Drew Tomlinson
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:

[EMAIL PROTECTED] mod_auth_ldap

2008-09-26 Thread Drew Tomlinson
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

Re: [EMAIL PROTECTED] Trouble With mod_rewrite

2008-09-16 Thread Drew Tomlinson
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 Message- From: Drew Tomlinson [mailto:[EMAIL

[EMAIL PROTECTED] Trouble With mod_rewrite

2008-09-15 Thread Drew Tomlinson
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