RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Gary W. Smith
I'm back again and I'm real close to finishing up what I have started here. I have implemented the following, while still keeping virtualdocumentroot in place and it seems to work. # ti_ is a login prefix RewriteEngine On RewriteCond %{HTTP_HOST} ^users.domain.tld$ [NC] RewriteRule ^/([^\/]+)(

Re: [EMAIL PROTECTED] FLEXlm error:-16,287

2006-04-21 Thread Joshua Slive
On 4/21/06, D J Patel <[EMAIL PROTECTED]> wrote: > > Hello, > > I am new to Apache, webserver etc... > > I tried to install Apache HTTP Server 2.2 on Solaris 9 plaftom. The > installation is stuck at > > "checking whether to enable mod_rewrite... shared (all)" > > Looking at the confiure.log file.

[EMAIL PROTECTED] FLEXlm error:-16,287

2006-04-21 Thread D J Patel
Hello,   I am new to Apache, webserver etc...   I tried to install Apache HTTP Server 2.2 on Solaris 9 plaftom. The installation is stuck at   "checking whether to enable mod_rewrite... shared (all)"   Looking at the confiure.log file. It constantly generates following error.  

Re: [EMAIL PROTECTED] You don't have permission to access /pipermail/ on this server.

2006-04-21 Thread Noah
On Fri, 21 Apr 2006 13:45:57 +0200, Robert Ionescu wrote > Noah wrote: > > Symbolic link not allowed or link target not accessible > > So you're accessing a symlink? Now either a > Options +FollowSymLinks > for that directory is missing in your httpd.conf or Apache can't go > to/read the target o

Re: [EMAIL PROTECTED] Question about redirecting

2006-04-21 Thread Boysenberry Payne
I think you should be able to do it like this: RewriteEngine on RewriteRule ^(.*)/administrator/(.*)$ https://domain.com/ or if you want to push the data from the original request: RewriteRule ^(.*)/administrator/(.*)$ https://domain.com/$1/administrator/$2 Just remember the $1 above is ac

[EMAIL PROTECTED] Question about redirecting

2006-04-21 Thread Todd Nine
Hi all,  I'm trying to redirect a url using .htaccess with mod_rewrite.  Is it possible to redirect an http connection with the url */administrator/* to an ssl connection?  I know I can rewrite the URI, but I'm not sure I can change the protocol from http:// to https:// Thanks,Todd

Re: [EMAIL PROTECTED] Problems with Apache 2.2.0 as a conventional proxy

2006-04-21 Thread Dan Price
So, I've gotten no responses (except to ask about Squid) to this query which I posted on Monday. Can someone please point me in the right direction? Should I start filing bugs? Contact a different list? -dp On Mon 17 Apr 2006 at 04:45PM, Dan Price wrote: > > Hi, > > After years of f

Re: [EMAIL PROTECTED] ext_filter blocks cookies with forward proxy

2006-04-21 Thread Nick Kew
On Friday 21 April 2006 15:26, Yevgen Borodin wrote: > > What does your filter do with the cookies? > > Nothing. For now I am just trying to pass the information through. Then we need to think laterally. Maybe the reason for cookies causing an *apparent* difference is that having a cookie makes t

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Gary W. Smith
First I'd like to say thanks for responding. I understand most of what you kicked out in there. With respect to mod rewrite triggering before vhost_alias, I was wondering if it's possible to have mod rewrite just handle the one domain (by a given domain name). That is, can you limit the rew

RE: [EMAIL PROTECTED] URL Rewriting trouble with Apache 2.2

2006-04-21 Thread Darren Hall
Stephen, First of all, thanks for your help. I knew it was an easy fix. My lack of RexEx knowledge was shooting me in the foot. mod_dir is now loading when Apache starts. I changed my code in the VirtualHost block in httpd-vhosts.conf to look like this: [...] # list of redirects Redire

Re: [EMAIL PROTECTED] Is per file configuration easily possible?

2006-04-21 Thread S.Hayles
On Fri, 21 Apr 2006, Alexey Polyakov wrote: Well, you always have mod_rewrite as a last resort. I really hadn't considered to looking at mod_rewrite for access control, but it is documented: http://httpd.apache.org/docs/2.2/howto/access.html#rewrite http://httpd.apache.org/docs/2.2/rewrite

Re: [EMAIL PROTECTED] URL Rewriting trouble with Apache 2.2

2006-04-21 Thread S.Hayles
On Fri, 21 Apr 2006, Darren Hall wrote: [...] The first rewrite adds a trailing slash to the url when requesting any directory in the site (or anything that is not a document). [...] Given that you want the modified URL to appear in the browser, you need to perform a redirect. A redirect with

[EMAIL PROTECTED] URL Rewriting trouble with Apache 2.2

2006-04-21 Thread Darren Hall
This *should* be an easy question, but for some reason I can not get this working.   Here's what I'm attempting to do: In order to preserve a standard web site organizational structure and promote sharing of resources, I'm doing URL rewriting. I'm attempting two rewrites on the incoming

RE: [EMAIL PROTECTED] ext_filter blocks cookies with forward proxy

2006-04-21 Thread Yevgen Borodin
> What does your filter do with the cookies? Nothing. For now I am just trying to pass the information through. That works for regular Web pages. But I am getting garbage from those with cookies. There seem to be no description about interaction of filters with cookies. In the end, I am trying t

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Axel-Stéphane SMORGRAV
I am afraid that mod_rewrite will process the request *before* mod_vhost_alias. Therefore, in order to achieve what you want, I think you will need to abandon mod_vhost_alias and rely solely on mod_rewrite. For the user directories, maybe: RewriteMaplowercase int:tolower RewriteCond %{HT

Re: [EMAIL PROTECTED] You don't have permission to access /pipermail/ on this server.

2006-04-21 Thread Robert Ionescu
Noah wrote: Symbolic link not allowed or link target not accessible So you're accessing a symlink? Now either a Options +FollowSymLinks for that directory is missing in your httpd.conf or Apache can't go to/read the target of the symbolic link. The symlink is stored in /usr/home/mailman/arch

Re: [EMAIL PROTECTED] Is per file configuration easily possible?

2006-04-21 Thread Alexey Polyakov
On 4/21/06, S.Hayles <[EMAIL PROTECTED]> wrote: > Thanks, I hadn't considered that. Not possible in .htaccess files, of > course. Well, you always have mod_rewrite as a last resort. But if you're able to put stuff in httpd.conf, it's always better, cause it gives better performance. -- Alexey P

Re: [EMAIL PROTECTED] Is per file configuration easily possible?

2006-04-21 Thread S.Hayles
On Fri, 21 Apr 2006, Alexey Polyakov wrote: On 4/20/06, Hayles, S. <[EMAIL PROTECTED]> wrote: Is there any better way to associate configuration with a single file? ... looks like a better solution. Thanks, I hadn't considered that. Not possible in .htaccess files, of course. Steven

Re: [EMAIL PROTECTED] Is per file configuration easily possible?

2006-04-21 Thread Alexey Polyakov
On 4/20/06, Hayles, S. <[EMAIL PROTECTED]> wrote: > Is there any better way to associate configuration with a single file? ... looks like a better solution. -- Alexey Polyakov - The official User-To-User support forum of the

Re: [EMAIL PROTECTED] content of httpd.conf file

2006-04-21 Thread Alexey Polyakov
On 4/21/06, Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote: > - Make sure that Apache can still write to its log files > > chown -R nobody:nobody /var/logs/httpd > > (replace the path with the path to where your Apache log files are) I think that's not needed, cause httpd opens log files as r

Re: [EMAIL PROTECTED] ext_filter blocks cookies with forward proxy

2006-04-21 Thread Nick Kew
On Friday 21 April 2006 00:22, Yevgen Borodin wrote: > Hello! > > I have a forward proxy that handles cookies perfectly fine. > But as soon as I turn on an ext_filter, websites that have cookies are not > coming through. What does your filter do with the cookies? That would be a place to start lo