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 ^/([^\/]+)(
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.
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.
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
21 matches
Mail list logo