hello, i have the following setup where i use nginx to proxy requests to
apache with the images, css and js being loaded from nginx.
here are the details
http://serverfault.com/questions/514611/nginx-proxy-to-apache-err-too-many-redirects
there are couple of issues with this and i want to find ou
hello,
i have a menu that has a url as follows http://www.site.com/p/home
what is the correct way to have a domain point to the root of this?
so that http://partner.site.com shows the http://www.site.com/p/home
as the root of the site?
is this possibe to do in apache witha rewrite rule, what woul
hello,
i have a drupal site within which there is a folder with wordpress so
http://mysite/blog loads the wordpress.
i want to take this out completely so the http://blog.mysite is in its own vhost
is it possible in for the http://mysite to add a rewirite so that if a
user types http://mysite.com
i get these in my
# tail -f /var/log/apache2/error_log
[Tue Aug 17 15:13:00 2010] [notice] Apache/2.2.15 (Unix)
mod_ssl/2.2.15 OpenSSL/0.9.8o configured -- resuming normal operations
[Tue Aug 17 15:14:56 2010] [error] [client 188.165.201.59] File does
not exist: /var/www/localhost/htdocs/test_500
On Tue, Aug 17, 2010 at 1:06 PM, Rich Bowen wrote:
>
> On Aug 17, 2010, at 6:20 AM, Norman Khine wrote:
>
> On Tue, Aug 17, 2010 at 11:31 AM, Joost de Heer
> wrote:
>
> [Tue Aug 17 09:41:47 2010] [alert] (EAI 2)Name or service not known:
>
> mod_unique_id: unable to f
hi
On Tue, Aug 17, 2010 at 11:31 AM, Joost de Heer wrote:
>> [Tue Aug 17 09:41:47 2010] [alert] (EAI 2)Name or service not known:
>> mod_unique_id: unable to find IPv4 address of "server-2.local.net"
>> Configuration Failed
>> [Tue Aug 17 09:47:10 2010] [alert] (EAI 2)Name or service not known:
>
hello,
i have the following setup:
loadbalancer - 192.168.1.10
server-2 - 192.168.1.12
it is a gentoo machine.
# apache2 -v
Server version: Apache/2.2.15 (Unix)
Server built: Aug 12 2010 10:07:12
server2 has the following configuration
# cat /etc/conf.d/net
http://pastie.org/1097227
when
httpd.conf file, but now i know that i have to make a
virual host entry for this in the httpd-vhosts.conf
Thanks for the reply.
Norman
On Wed, Jul 29, 2009 at 10:35 PM, André Warnier wrote:
> Norman Khine wrote:
>>
>> Hello,
>> I have an issue with Apache in that when I enable
Hello,
I have an issue with Apache in that when I enable vhosts I get this 503 error:
--
Service Temporarily Unavailable
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
--
If I disable
# Virtual hosts
Include con
You can proxy your machine through your server in Germany as per:
on local machine
# ssh -D 1080 u...@ip.germany.server
then change your firefox preferences so that you use manual
configuration and use SOCKS with 127.0.0.1 and port 1080
hth
norman
Nicholas Sherlock wrote:
J. Bakshi wrote:
Eric Covener wrote:
On Tue, Jan 27, 2009 at 4:44 AM, Norman Khine wrote:
Hello,
I have a very strange issue when adding the google analytics code to my
site.
If you go to http://uk.expert.travel and click on a section and then
click back to the main home page, I get a 502 proxy error.
and
Hello,
I have a very strange issue when adding the google analytics code to my
site.
If you go to http://uk.expert.travel and click on a section and then
click back to the main home page, I get a 502 proxy error.
and in my error log i get this entry:
(104)Connection reset by peer: proxy: error r
Hi,
Eric Covener wrote:
On Sat, Jan 24, 2009 at 10:20 AM, Norman Khine wrote:
[Sat Jan 24 18:46:57 2009] [error] [client 86.219.32.244] client denied by
server configuration: /usr/htdocs
You don't have a that allows you to serve
static files out of the filesystem. If this is
Bob Ionescu wrote:
2009/1/23 Norman Khine :
RewriteEngine On
#DenyHosts Rules
RewriteMap hosts-deny txt:/home/user/txt/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND [OR
:
On Thu, Jan 22, 2009 at 3:46 PM, Norman Khine wrote:
Hi, sorry, but this did not work.
As now when I type the http://domain.com/robots.txt the page returned
is from within my cms application and not from the default
The condition you added didn't stop the request from being proxied?
Did yo
Can I call my robots.txt file anything?
Cheers
Norman
On Thu, Jan 22, 2009 at 6:40 PM, Bob Ionescu wrote:
> 2009/1/22 Norman Khine :
>> Is there a way I can put a robots.txt file to reside outside of the
>> rewrite, so that if a the bots look for http://domain.com/robots.txt
>
Hello,
I have the following http.conf entry:
ServerName domain.com
ServerAlias www.domain.com
RewriteEngine On
#DenyHosts Rules
RewriteMaphosts-deny txt:/home/user/txt/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
Rewri
Hello,
I am running several amazon EC2 instances on Gentoo, with apache 2.2.9.
This is fine, but I want to store the /etc/apache2/vhosts.d entries on a
mounted NFS directory, as when an EC2 instance goes down, all changes
are lost.
Is there a way to specify an alternative conf file where to l
ister
Any advice as always much appreciated.
--
Norman Khine
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26)
for c in ",adym,*)&uzq^zqf" ] )
/uk_domain_error.log
The directories I want to protect are:
/users/X/;edit_account
# Here the 'X' is variable and is a digit that relates to the user id.
/;login_form
/;register
Any advice as always much appreciated.
--
Norman Khine
%>>> "".join( [ {'*':
Bruno.
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thank you, that was it, I think I need to go and change my glasses ;)
Graeme Fowler wrote:
On Wed, 2008-05-28 at 13:31 +0200, Norman Khine wrote:
I have this as the permissions:
ls -al css/
total 24
drw-r--r-- 2 apache apache 4096 May 28 19:15 .
drwxr-xr-x 5 apache apache 4096 May 28 19:50
that I have on this server, so I
am really confused ;(
Cheers
Norman
Graeme Fowler wrote:
On Wed, 2008-05-28 at 10:38 +0200, Norman Khine wrote:
I seem to have one problem with a virtual host that for the images and
css sub-directory I get the following error:
[Wed May 28 19:27:07 2008
Hello,
I seem to have one problem with a virtual host that for the images and
css sub-directory I get the following error:
[Wed May 28 19:27:07 2008] [error] [client 90.42.77.188] (13)Permission
denied: access to /images/btn.jpg denied, referer:
http://demo.domain.net/index.html
[Wed May 28 1
Thank you Krist, that was the problem.
Norman
Krist van Besien wrote:
On Mon, Mar 31, 2008 at 1:44 PM, Norman Khine <[EMAIL PROTECTED]> wrote:
If I then go and clear the cookies from the browser, I can then access
the http://uk.expert.travel without a problem.
I doubt this is an
Hello,
I am trying to resolve a 502 Proxy Error. Currently I am redeveloping
http://expert.travel and the new site will be http://uk.expert.travel
When you access the first site http://expert.travel and then you access
the second site you get the 502 Proxy Error:
--
Proxy Error
The proxy se
pat wrote:
PingBad wrote:
On Wednesday 20 February 2008 00:10, pat wrote:
> Hello
>
> I have a problem with the apache2 configuration if I want to combine
> vhost and ssl settings.
> My apache opts: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D
> SSL -D SSL_DEFAULT_VHOST -D PH
Hello,
Is it possible to redirect users to different pages on a web site
depending on the type of browser they are using? Would you use a Rewrite
rule, if so how can this be done?
I have an apache 2.2.8
Thanks
Norman
-
The
Hello,
I have updated apache to 2.2.8 and now I am getting the following error:
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf
Invalid command 'DBDriver', perhaps misspelled or defined by a module
not included in
r from one site to another.
Thanks
Norman
Krist van Besien wrote:
On Feb 18, 2008 11:25 AM, Norman Khine <[EMAIL PROTECTED]> wrote:
For now, the next step is to figure out how to generate the message if
the client does not support SNI.
That's easy. If the client does not support S
the client does not support SNI.
Any thoughts on this.
Many thanks
Norman
Eric Covener wrote:
On Feb 17, 2008 8:37 AM, Norman Khine <[EMAIL PROTECTED]> wrote:
Hello,
I have some virtual hosts and would like to run SSL with different
certificates on each. Having followed the follo
Eric Covener wrote:
On Feb 17, 2008 8:37 AM, Norman Khine <[EMAIL PROTECTED]> wrote:
Hello,
I have some virtual hosts and would like to run SSL with different
certificates on each. Having followed the following how-to,
http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Hosting_and_S
.0.12
* Internet Explorer 7.0.5730.11
solprovider
On 2/17/08, Norman Khine <[EMAIL PROTECTED]> wrote:
Hello,
I have some virtual hosts and would like to run SSL with different
certificates on each. Having followed the following how-to,
http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Host
Hello,
I have some virtual hosts and would like to run SSL with different
certificates on each. Having followed the following how-to,
http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Hosting_and_SSL and
rebuilding apache with SNI support, I am having some issues in that
domain2.com only ret
Hello,
I have several sites running from my server that have their own
certificates, but everytime I acces the site, I get a warning telling me
that the certificate belongs to localhost.
Can I have multiple certificates on the same IP and port 443, or do I
have to open different ports for eac
Thanks, that was it.
Eric Covener wrote:
On Dec 1, 2007 5:32 PM, Norman Khine <[EMAIL PROTECTED]> wrote:
[12] RewriteRule ^/(.*) http://localhost:8080/expert/$1 [P]
[Sat Dec 01 22:56:54 2007] [error] [client 127.0.0.1] attempt to make
remote request from mod_rewrite without proxy e
Hello,
I just update my OS X 10.4 with Apache 2.2.6, this works fine but I am
having problems with my Virtual Hosts.
Here is the version I am using:
Server version: Apache/2.2.6 (Unix)
Server built: Nov 29 2007 20:06:12
In my /usr/local/apache2/conf/httpd.conf I have the standard conf file
ultiple IP addresses?
Is it like
Allow from 192.168.1.2, 192.168.1.4 .
Can this list also be looked up from the database? Perhaps is the
AuthDBDUserRealmQuery
Cheers
--
Norman Khine
%>>> "".join( [ {'*':'@','^':&
Then when I load the protected page I get an error when I try to restart
the server.
DBD: No driver for mysql
I have emerged mod_auth_mysql-3.0.0-r2 on gentoo
What am I doing wrong?
Cheers
Norman
--
Norman Khine
%>>> "".join( [ {'*':'@','
Hello,
I have an application on an Apache web server that I can see from both
my FF and Safari on Mac, but I get a 502 Proxy Error every time I open
it from an IE6 on a PC.
Is there a problem with my rewrite rule, or am I missing something?
ServerName host.travel
RewriteEngine On
Rew
o specify the 'Allow from all' to all
directories that I want to be able to see - is this correct?
Can the above conf file be simplified or improved in any way.
Thanks
--
Norman Khine
%>>> "".join( [ {'*':'@','
/etc/hosts file
127.0.0.1 abakuc.expert.travel
127.0.0.1 abakuc.expert_travel
Any advise much appreciated.
--
Norman Khine
%>>> "".join( [ {'*':'@','^':'.'}.get(c
t may infringe on the privacy
i.e. my script reading the size file on the client computer. Maybe I am
wrong?
Any one with advise on how others approach this issue?
Cheers
Norman
--
Norman Khine
-
The official User-To-User support
Marc Perkel wrote:
>
>
> Sam Lavitt wrote:
>> Joshua Slive wrote:
>>
>>> On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote:
>>>
I was hoping for a more specific answer. If I could have done that I
wouldn't be here asking how to do it.
>>>
>>>
>> Also consider other services, such as F
should work.
>
> Pedro
>
>> -Original Message-
>> From: Norman Khine [mailto:[EMAIL PROTECTED]
>> Sent: Mittwoch, 21. März 2007 16:59
>> To: users@httpd.apache.org
>> Subject: [EMAIL PROTECTED] RewriteCond: cannot compile regular expression
>>
Hello,
Can anyone help me with this error:
RewriteCond: cannot compile regular expression
'^([a-zA-Z_1-0]+\\.rewrite\\.dev)$'
I would like to have the RegEx to be in the following format
a-zA-Z then any 3 numbers
so
www123, abc999 etc...
Many thanks
Norman
---
everything is cool, but is it possible to also somehow dynamically
change the name of the access, error and rewrite log names?
Many thanks for all your help.
Norman
matt farey wrote:
>
> Norman Khine wrote:
>> Hi
>> Tried this but still get the same error:
>>
>> 127.0
r_global_mutex_unlock(rewrite_log_lock) failed
[Fri Mar 09 14:42:08 2007] [error] [client 127.0.0.1] File does not
exist: /Users/khinester/Sites/destinations/favicon.ico
Any ideas?
Cheers
Norman
matt farey wrote:
>
> Norman Khine wrote:
>> Hi all,
>> Sometimes back I post
structure
index.html
|-- london
| |-- images
| |-- index.html
|-- liverpool
| |-- images
| |-- index.html
So I was hoping that if I type http://london/rewrite.example to see the
london/index.html page - which is not the case ;(
I don'
Vincent Bray wrote:
> On 08/03/07, Norman Khine <[EMAIL PROTECTED]> wrote:
>>
>> ServerName domain.com
>> ServerAlias www.domain.com
>> RewriteEngine On
>> #DenyHosts Rules
>> RewriteMaphosts-deny txt:/home/user/apache/hosts.deny
ote that path "/usr/local/awstats/" must reflect your AWStats
> Installation path.
>Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"
>Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
>Alias /awstatsicons "/usr/local/awstats/wwwroot/ic
would the issue be something to do with the [last]
Vincent Bray wrote:
> On 05/03/07, Norman Khine <[EMAIL PROTECTED]> wrote:
>> #Awstats rewrite
>> #
>> RewriteRule /awstats-icon(.*)
>> /usr/share/webapps/awstats/6.5-r1/hostroot/icon/$1 [last]
>>
Hello,
I have a Zope instance running on port 8080 with the following
httpd.conf vhost directive
ServerName domain.com
ServerAlias www.domain.com
RewriteEngine On
#Deny hosts map
#
RewriteMaphosts-deny txt:/home/xxx/apache/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOS
webalizer (http://www.mrunix.net/webalizer/) or
AWStats http://awstats.sourceforge.net/
hope this is of help
for other bits this is an interesting article for debugging logs
http://www.onlamp.com/pub/a/onlamp/2007/02/02/apache-debugging-logs.html
[EMAIL PROTECTED] wrote:
> Hello,
>
> I've be
ED]
>" from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Norman Khine
http://abakuc.com http://uktravellist.info
http://destinationsguide.info
-
The official Us
] [mailto:[EMAIL PROTECTED] On Behalf Of
>> Joshua Slive
>> Sent: Friday, December 15, 2006 2:53 PM
>> To: users@httpd.apache.org
>> Subject: Re: [EMAIL PROTECTED] Mod re-write help
>>
>>
>> On 12/15/06, Norman Khine <[EMAIL PROTECTED]> wrote:
Joshua Slive wrote:
> On 12/15/06, Norman Khine <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I would like to know how to turn this URI
>>
>> http://destinationsguide.info/catalogue/c51/c57?b_start=15
>>
>> into something like
>>
>> htt
Hello,
I would like to know how to turn this URI
http://destinationsguide.info/catalogue/c51/c57?b_start=15
into something like
http://destinationsguide.info/catalogue/africa/eastern-africa.html
I am already using one rewrite into Zope, so I am not sure how to proceed.
ServerName destinati
Hello,
Can someone please advise how to chain two rules together so that:
[1]
[2] ServerName mysite.com
[3] ServerAlias www.mysite.com
[4] RewriteEngine On
[5] RewriteCond %{HTTP_HOST} ^www\.mysite\.info [nc]
[6] RewriteRule (.*) http://mysite.info/$1 [R=301,C]
[7] RewriteRule ^/(.*)
Hello,
I am using a ZOPE server behind Apache and already have a mod_rewrite
rule as:
ServerName mysite.com
ServerAlias www.mysite.com
RewriteEngine On
RewriteRule ^/(.*)
http://mysite.com:5080/VirtualHostBase/http/mysite.com:80/sites/site/VirtualHostRoot/$1
[L,P]
ErrorLog /var/log/apac
Joshua Slive wrote:
> On 10/17/06, Norman Khine <[EMAIL PROTECTED]> wrote:
>> hello again,
>> i have the following rewrite rule,
>>
>>
>> ServerName domain.tld
>> ServerAlias www.domain.tld
>> RewriteEngine On
>> RewriteMaphost
hello again,
i have the following rewrite rule,
ServerName domain.tld
ServerAlias www.domain.tld
RewriteEngine On
RewriteMaphosts-deny txt:/home/user/apache/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|
Hello,
What is the best way to block someone from ripping/mirroring stuff from my site
with wget? Is there an Apache way to do this, have seen it done with
.htaccess but perhaps there is a way to do this from Apache.
mod-security, snort perhaps? How does this fit with VirtualHosts and can these
rs@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL
>
>
> On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote:
>
>
>> [1]
>>
>> [2]ServerName domain.tld
>> [3]RewriteEngine on
>> [4]RewriteCo
Joshua Slive wrote:
> On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote:
>
>>
>> [1]
>>
>> [2]ServerName domain.tld
>> [3]RewriteEngine on
>> [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$
>> [5]RewriteRule ^(.+)
Norman Khine wrote:
> Boyle Owen wrote:
>
>>> -Original Message-
>>> From: Norman Khine [mailto:[EMAIL PROTECTED]
>>> Sent: Wednesday, September 06, 2006 9:23 AM
>>> To: users@httpd.apache.org
>>> Subject: [EMAIL PROTECTED] Dynamic Re
Boyle Owen wrote:
>> -Original Message-
>> From: Norman Khine [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, September 06, 2006 9:23 AM
>> To: users@httpd.apache.org
>> Subject: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL
>>
>> He
Hello,
Is it possible to create an Apache Rewrite rule so that the depending on
the sub-domain the server receives it is then re-written to a different
folder, for example, I have this working but want to reduce it to just
one rule:
ServerName folder_A.domain.tld
RewriteEngine On
Rew
68 matches
Mail list logo