Apache config setenvif

2015-02-08 Thread 斟酌鵬兄
Hellol, I want to add a header if the Remote_Addr is equal to an address defined in /etc/hosts file. But I coundn't figure out how to achieve this. The Host file contain this line: Banana 123.123.123.123 In .htaccess, I cound use: Allow from Banana but this time I want to add a request header f

two apache config questions

2008-12-04 Thread Rick Pasotto
First, when I start apache I get the following messages: apache2: Could not reliably determine the server's fully qualified domain name, using niof.net for ServerName [Thu Dec 04 10:13:28 2008] [warn] NameVirtualHost 69.17.2.49:80 has no VirtualHosts I have several virtual domains setup in site

Re: apache config question - China IP's

2006-02-24 Thread Kevin Coyner
On Tue, Feb 21, 2006 at 01:13:42PM -0600, Jacob S wrote.. > > > > > >>> 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET > > >>> http://1-shops.com/prx.php?p=q1w2e3r4t5y6u7i8o9p0*a-b HTTP/1.1" > > >>> 404 288 "http://www.google.com/intl/en-us/"; "Mozilla/4.0 > > >>> (compatible; MSIE 6.

Re: apache config question - China IP's

2006-02-21 Thread hendrik
On Mon, Feb 20, 2006 at 09:41:42PM -0600, Jacob S wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 20 Feb 2006 16:28:20 -0500 > Kevin Coyner <[EMAIL PROTECTED]> wrote: > > > > Now the server I work on is in the IP range 64.34.x.x, and has > > nothing to do with 1-shops.com.

Re: apache config question - China IP's

2006-02-21 Thread David Kirchner
On 2/20/06, Kevin Coyner <[EMAIL PROTECTED]> wrote: > 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET > http://1-shops.com/prx.php?p=q1w2e3r4t5y6u7i8o9p0*a-b HTTP/1.1" 404 > 288 "http://www.google.com/intl/en-us/"; "Mozilla/4.0 (compatible; > MSIE 6.0; Windows NT 5.0; Crazy Browser 1.0.5)" >

Re: apache config question - China IP's

2006-02-21 Thread Jacob S
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 21 Feb 2006 12:03:39 -0600 Michael Schurter <[EMAIL PROTECTED]> wrote: > Kevin Coyner wrote: > > > > On Mon, Feb 20, 2006 at 09:41:42PM -0600, Jacob S wrote.. > > > >>> 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET > >>> http://1

Re: apache config question - China IP's

2006-02-21 Thread Michael Schurter
Kevin Coyner wrote: On Mon, Feb 20, 2006 at 09:41:42PM -0600, Jacob S wrote.. 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET http://1-shops.com/prx.php?p=q1w2e3r4t5y6u7i8o9p0*a-b HTTP/1.1" 404 288 "http://www.google.com/intl/en-us/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.

Re: apache config question - China IP's

2006-02-21 Thread Kevin Coyner
On Mon, Feb 20, 2006 at 09:41:42PM -0600, Jacob S wrote.. > > 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET > > http://1-shops.com/prx.php?p=q1w2e3r4t5y6u7i8o9p0*a-b HTTP/1.1" > > 404 288 "http://www.google.com/intl/en-us/"; "Mozilla/4.0 > > (compatible; MSIE 6.0; Windows NT 5.0; Cra

Re: apache config question - China IP's

2006-02-20 Thread Jacob S
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 20 Feb 2006 16:28:20 -0500 Kevin Coyner <[EMAIL PROTECTED]> wrote: > > I've been watching the apache logs on a website I work on and have > seen strange entries recently. They are in Combined form, and here > is a snippet: > > 221.226.124.1

apache config question - China IP's

2006-02-20 Thread Kevin Coyner
I've been watching the apache logs on a website I work on and have seen strange entries recently. They are in Combined form, and here is a snippet: 221.226.124.109 - - [20/Feb/2006:16:17:10 -0500] "GET http://1-shops.com/prx.php?p=q1w2e3r4t5y6u7i8o9p0*a-b HTTP/1.1" 404 288 "http://www.google.com

Re: Debian Apache Config Document

2004-12-06 Thread Sam Watkins
On Mon, Dec 06, 2004 at 11:40:41AM +0800, Lian Liming wrote: > I am a linux user who swich other linux distro to debian linux. I > find apache configuration on debian seems a little different from other > distro. So i am looking for document for apache configuration on debian. What I did i

Re: Debian Apache Config Document

2004-12-05 Thread s. keeling
Incoming from Lian Liming: > > So can someone give me some information on where to find useful > debian apache configuration documents? aptitude install apache-doc You can find things like this with "apt-cache search apache" -- Any technology distinguishable from magic is insufficiently

Debian Apache Config Document

2004-12-05 Thread Lian Liming
Hi all, I am a linux user who swich other linux distro to debian linux. I find apache configuration on debian seems a little different from other distro. So i am looking for document for apache configuration on debian. But there is only a README with brief introduction about the config

Re: Apache config issue - 403 from Alias

2003-10-19 Thread Kenneth Dombrowski
On 03-10-19 19:32 -0500, Ian Melnick wrote: > Anyone have an idea on why this isn't working? I copied the icon > example, and the permissions are 755 throughout (and icons work), so why > won't this? > > Alias /doc/ /usr/share/doc/ > > Options Indexes MultiViews > AllowOverride None > Order

Apache config issue - 403 from Alias

2003-10-19 Thread Ian Melnick
Hi all, Anyone have an idea on why this isn't working? I copied the icon example, and the permissions are 755 throughout (and icons work), so why won't this? Alias /doc/ /usr/share/doc/ Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Thanks in advance

Re: Apache config

2002-12-10 Thread eric lin
Dear Nate: I get that doamin is by paying some company to register, I only give them my ip address to get that domain. no, it only show a piece of white so should I configure more some where in my apache server, hihgly appreciate nate wrote: eric lin said: Dear Linuxer: I also have a web

Re: Apache config

2002-12-10 Thread nate
Mikael Jirari said: > I'd like to know how to use this. > For example I'd like to access horde2 with https://myserver/horde2 How can > I do ? are you running apache-ssl or apache with mod_ssl? is the configuration you posted what your using? it seems like it should work, if it doesn't then post w

Apache config

2002-12-10 Thread Mikael Jirari
Title: Apache config Hi List, I'd like a little help on apache configuration. At the moment my webserver is working fine. Webserver.domain.com/index.html Webserver.domain.com/my_page.html No problem to access it But I have quite a few application running in /usr/share/appz A

Re: Apache config not accepted after upgrade to Testing

2002-02-20 Thread John Kuhn
On Wed, Feb 20, 2002 at 11:58:50PM +0100, Erik van der Meulen wrote: > On Wed, Feb 20, 2002 at 22:58:54 +0100, Erik van der Meulen wrote: > > > Syntax error on line 75 of /etc/apache/access.conf: > > Invalid command 'order', perhaps mis-spelled or defined by a module > > not included in the

Re: Apache config not accepted after upgrade to Testing

2002-02-20 Thread Erik van der Meulen
On Wed, Feb 20, 2002 at 22:58:54 +0100, Erik van der Meulen wrote: > Syntax error on line 75 of /etc/apache/access.conf: > Invalid command 'order', perhaps mis-spelled or defined by a module > not included in the server configuration > /usr/sbin/apachectl start: httpd could not be started

Apache config not accepted after upgrade to Testing

2002-02-20 Thread Erik van der Meulen
Dear all - I am in a bit of a panic. Have just upgraded Apache from Potato to testing (by means of apt-get install php4). The upgrade process did not give me any errors, but after 'apacheconfig', Apache fails to restart with: Syntax error on line 75 of /etc/apache/access.conf: Invalid command

Re: apache config broken

2001-09-19 Thread John Griffiths
At 08:44 PM 9/19/01 -0500, Bud Rogers wrote: >On Thursday 20 September 2001 05:02 am, John Griffiths wrote: > >> [Thu Sep 20 07:59:11 2001] [alert] apache: Could not determine the server's >> fully qualified domain name, using 192.168.0.3 for ServerName > >Have you set ServerName in httpd.conf? >

Re: apache config broken

2001-09-19 Thread Bud Rogers
On Thursday 20 September 2001 05:02 am, John Griffiths wrote: > [Thu Sep 20 07:59:11 2001] [alert] apache: Could not determine the server's > fully qualified domain name, using 192.168.0.3 for ServerName Have you set ServerName in httpd.conf? -- Bud Rogers <[EMAIL PROTECTED]> They have awakened

apache config broken

2001-09-19 Thread John Griffiths
hi, having trouble getting apache going we've got a fixed IP on a cable pppoe connection a netgear cable router is doing NAT and port forwarding, i can ssh onto the box from here (work) the apache box has been assigned 192.168.0.3 and is respionding to it but when i try to start apache I get:

Re: Apache config question

2001-07-02 Thread Mark Wagnon
On 07/02/01 13:18:23 -0500, Dave Sherohman wrote: > I bet you're running portsentry... > > When you installed apache, portsentry was already listening on pot 80. > When you rebooted, apache was started before portsentry, so it got the > port and portsentry left it alone since there's something le

Re: Apache config question

2001-07-02 Thread Dave Sherohman
On Sun, Jul 01, 2001 at 06:35:06PM -0700, Mark Wagnon wrote: > At 20:14, I set my ServerName in httpd.conf and restarted, but I was > still unable to access my web site. I don't know what was responsible > for the message about being unable to bind to port 80. I bet you're running portsentry... W

Re: Apache config question

2001-07-01 Thread Mark Wagnon
Hi Dimi! Thanks for the reply. On 07/01/01 17:02:36 -0500, Dimitri Maziuk wrote: > > What does /var/log/apache/error.log say? > [Fri Jun 29 20:10:47 2001] [alert] apache: Could not determine the server's fully qualified domain name, using 24.5.8.184 for ServerName [Fri Jun 29 20:10:47 2001] [

Re: Apache config question

2001-07-01 Thread Dimitri Maziuk
* Mark Wagnon ([EMAIL PROTECTED]) spake thusly: > On 07/01/01 13:51:29 -0700, Eric G. Miller wrote: > > > $ /etc/init.d/apache start ??? > > Yeah, I did that, several times. That's why I'm scratching my head > wondering what else I may have done. What does /var/log/apache/error.log say? Dima --

Re: Apache config question

2001-07-01 Thread Mark Wagnon
On 07/01/01 13:51:29 -0700, Eric G. Miller wrote: > $ /etc/init.d/apache start ??? Yeah, I did that, several times. That's why I'm scratching my head wondering what else I may have done. Thanks though ;-) -- Mark Wagnon <[EMAIL PROTECTED]>

Re: Apache config question

2001-07-01 Thread Eric G. Miller
On Sun, Jul 01, 2001 at 12:12:51PM -0700, Mark Wagnon wrote: > Hi all- > > Scratch that. I had to reboot for some recreational activities under > Windows last night, and when I came back to Debian this morning, > Apache was working fine. I thought that by simply restarting the > server would have

Re: Apache config question

2001-07-01 Thread Mark Wagnon
Hi all- Scratch that. I had to reboot for some recreational activities under Windows last night, and when I came back to Debian this morning, Apache was working fine. I thought that by simply restarting the server would have sufficed, but whatever occurred during the boot process seemed to do the

Re: Apache config question

2001-06-29 Thread Mark Wagnon
On 06/29/01 20:21:41 -0700, Mark Wagnon wrote: > > Is this a sever thing or an apache thing? I've installed apache once I had a brain fart. Oh well. That should have read is this a network thing or an apache thing? Thanks again! -- Mark Wagnon <[EMAIL PROTECTED]>

Apache config question

2001-06-29 Thread Mark Wagnon
Hi all, can someone point me to where I might find a solution to my problem? I've been poking around apache.org, but don't know if I'm in the right place or what to really be searching for Here goes... I have apache installed and running, but when I try to access the server either with an IP addre

Apache config problem

2001-04-12 Thread Nick
Am I missing a apckage or something, getting this weird message when i run apacheconfig: Use of uninitialized value in pattern match (m//) at /usr/sbin/apacheconfig li 490.

apache config questions

2000-06-04 Thread Olaf Meeuwissen
Hi all, I've got two questions regarding the configuration of apache. Hoping someone here can help. I'd like to set up content negotiation, but after reading the docs I'm still not able to set it up right. There's gotta be something obvious I'm missing but I don't know what. I've tried pretty

Apache Config problem: UserDir

1998-08-07 Thread Traxman
My users(3) have their home pages at www..com/~user and now i have added my friends domain to my box and i have to use the new 'NameVirtualHost xxx.yyy.zzz.uuu' and everything is fine. Someday i noticed that my users can go either by my domain or my friend like www.mydoamin.com/~user or www.fri

Re: Apache config error

1996-11-10 Thread Dermot Bradley
On Fri, 8 Nov 1996, Ronald van Loon wrote: > I think I may have found why people are so unhappy with the new release of > the Apache httpd: when it moves the directories, they become owned by root, > rather than the special user 'www-data'. The new directory that is created, > /usr/lib/httpd, gets

Re: Interesting idea (was: Apache config error)

1996-11-10 Thread Winfried Truemper
CoB SysAdmin (Joe Emenaker) ([EMAIL PROTECTED]) wrote: : export LOGS=/var/log/apache : export DOCS=/var/web/webspace : export CGI=/var/web/cgi-bin : the config files. However, I think there *may* exist somewhere in this idea : the ability to avoid more configuration change hassles than it woul

Interesting idea (was: Apache config error)

1996-11-08 Thread Joe Emenaker
> > I think I may have found why people are so unhappy with the new release of > the Apache httpd: when it moves the directories, I ran into this problem when I tried to upgrade, too. The upgrade moved the log files from /var/log/apache-httpd to /var/log/apache. This caused my custom /etc/cron.we

Apache config error

1996-11-08 Thread Ronald van Loon
I think I may have found why people are so unhappy with the new release of the Apache httpd: when it moves the directories, they become owned by root, rather than the special user 'www-data'. The new directory that is created, /usr/lib/httpd, gets the permission of 700, which means that apache cann