RE: [EMAIL PROTECTED] Per-directory mod_rewrite with ScriptAlias ?

2006-07-07 Thread Ahn, Chang
I use with Apache 1.3 and I haven't had any problems. If you have a lot of rewrites, make sure your server can handle it, but it should be a big deal (you should notice something before it becomes a problem). Try these, they helped me (Apache has similar dos for 2.x version). http://httpd.apache

RE: [EMAIL PROTECTED] How to deny access based on user agent - help

2006-06-23 Thread Ahn, Chang
You're right, my bad If the guy (you're blocking) always uses the same browser, maybe use a expr that's very explicit. RewriteCond %{HTTP_USER_AGENT} '^Mozilla/4.0 (compatible; MSIE 5.01; MSNIA; Windows 98)$' Or You can replace text with .*? . Is any character * is zero or more matches ? matc

RE: [EMAIL PROTECTED] How to deny access based on user agent - help

2006-06-23 Thread Ahn, Chang
RewriteCond %{HTTP_USER_AGENT} '^Mozilla' RewriteRule ^/(.*) http://www.blah.com/ [L,R] This should catch agent that starts with Mozilla. - read http://httpd.apache.org/docs/1.3/misc/rewriteguide.html -Original Message- From: Admin [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 20

RE: [EMAIL PROTECTED] Different users for different vhosts

2006-06-22 Thread Ahn, Chang
No not part Apache, you could divide your vhosts into their own Apache web servers. If you're using Solaris, Solaris 10's new feature is zones, which you can configure into virtual servers (so one zone for each vhost). Or if you have WIN server and Virtual Machine, you could do something simila

RE: [EMAIL PROTECTED] How to enable modification date for SSI files

2006-06-22 Thread Ahn, Chang
2006 2:27 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] How to enable modification date for SSI files On 6/22/06, Ahn, Chang <[EMAIL PROTECTED]> wrote: > I'm using SSI for most of my site and just noticed that the response header > isn't sending the f

[EMAIL PROTECTED] How to enable modification date for SSI files

2006-06-22 Thread Ahn, Chang
Title: How to enable modification date for SSI files I'm using SSI for most of my site and just noticed that the response header isn't sending the file's last modified date.   In Apache configuration, can you configure Apache to send the requested SSI file's last modified date in the HTTP he

RE: [EMAIL PROTECTED] Can Apache automatically popup a dialogue box before allowing access to a file?

2006-06-20 Thread Ahn, Chang
alogue box before allowing access to a file? > -Original Message----- > From: Ahn, Chang [mailto:[EMAIL PROTECTED] > Sent: Monday, June 19, 2006 9:55 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Can Apache automatically popup a dialogue box > before allowing acces

[EMAIL PROTECTED] RE: Switching between HTTP and HTTPS

2006-06-20 Thread Ahn, Chang
Maybe it's your regex. ^/(.crypt*)$ doesn't seem right; try this ^/(.*)crypt(.*)$https://localhost:7334/$1crypt$2 In Apache 1.3x, I would do something like this... RewriteCond %{HTTP_HOST} ^localhost$ [NC] RewriteRule ^/(.*)crypt(.*)$ https://localhost:7334/$1crypt$2 [R=301,L] -Or

[EMAIL PROTECTED] Can Apache automatically popup a dialogue box before allowing access to a file?

2006-06-19 Thread Ahn, Chang
Title: Can Apache automatically popup a dialogue box before allowing access to a file? Can Apache automatically popup a dialogue box before allowing access to a file? I know SSI will allow me to add html fragments to a HTML page but I need something that will work for MS docs, PDF, and othe

RE: [EMAIL PROTECTED] SSI and accepting bad URL.

2006-06-09 Thread Ahn, Chang
06 11:16 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] SSI and accepting bad URL. On 6/9/06, Ahn, Chang <[EMAIL PROTECTED]> wrote: > I've just noticed an unusual behavior with Server-Side Include. With > SSI enabled, I can continuously add the page name and still

[EMAIL PROTECTED] SSI and accepting bad URL.

2006-06-09 Thread Ahn, Chang
I've just noticed an unusual behavior with Server-Side Include. With SSI enabled, I can continuously add the page name and still pull the same page. Basically http://www.abanet.org/tax/taxtips4u/scam.shtml/scam.shtml/scam.shtml/sca m.shtml is the same page as http://www.abanet.org/tax/taxtips4u/s