Re: [us...@httpd] Redirection from DocumentRoot

2010-01-11 Thread Petr Hracek
I have tried your proposal but it returns during the restarting of apache2.2: Redirect to non-URL. Unfortunatelly I do not know the name of the server, respectively URL is always based on the IP address on the machine. E.g. http:/// 2010/1/11 Nilesh Govindarajan > On 01/11/2010 03:08 PM, Pe

Re: [us...@httpd] Directory Indexes

2010-01-11 Thread Vincent Jong
assuming you're on 2.2, look into IndexOptions, IndexStyleSheet, AddIconByEncoding, AddIcon, AddIconByType, AddDescription On Mon, Jan 11, 2010 at 9:43 PM, Programmer In Training < p...@joseph-a-nagy-jr.us> wrote: > I've been out of the loop for a VERY long time (since around 1.3.12) so > please

[us...@httpd] Directory Indexes

2010-01-11 Thread Programmer In Training
I've been out of the loop for a VERY long time (since around 1.3.12) so please forgive me my ignorance. In 1.3.12 I used to know how to get the directory index to look like this: http://www.boycottamerica.us/relevant-files/ and not like the current default look (a bulleted list of directories an

RE: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread ChiaTzung Liu
Yes, I also tested MTU 1280, 1480 and 1492. And all of these don't work -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Monday, January 11, 2010 8:51 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] HTTP over PPPoE??? On Mon, Jan 11, 2010 at 3:54 AM, Ch

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-11 Thread Reese
We did testing on this over the weekend, the rewrite rule went live Sunday night. As of this writing, there are a few minor issues not related to the rewrite rule, they are related to moving files around after the rewrite rule was tested. So this seems like a done deal. Thank you to all who provi

[us...@httpd] Apache 2.2.9 + haproxy + stunnel + mod_rewrite fun

2010-01-11 Thread Jon Stanley
Hey guys (and gals) - Let me first start out with an overall description of what I hope to accomplish, then talk about what I've spent all day doing. Hopefully someone can tell me what I'm doing wrong. I have a requirement for a staging site to force users to SSL for a particular CGI script. I'

[us...@httpd] Problem using environment variable

2010-01-11 Thread Jake Stone
Hello! I run a small Apache server that runs a few VirtualHosts, one of which contains a website and Subversion repository. I am trying to separate the SVN activity and website activity into two separate log files using simple LogFormat and CustomLog commands: LogFormat "%h %l %u %t \"%r\" %>

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-11 Thread Eric Covener
can you elaborate on the solution you alluded to in the bugzilla? I am guessing LDAPConnectionTimeout should be configuring a different option keyword? What did you change, and where did you change it? - The official User-To-Use

Re: [us...@httpd] PHP5 in httpd.conf

2010-01-11 Thread Jos Chrispijn
Frank, On 11-1-2010 16:40, Frank Gingras wrote: The rules have changed. See: http://www.php.net/manual/en/install.unix.apache2.php AddType was the appropriate method to do so in 1997. I see; thanks for your information, will have a look! regards, Jos Chrispijn -

[us...@httpd] Appending or replacing html/text output

2010-01-11 Thread Sam Minning
hello apache community, I am using Apache 2.2, combined with PHP via fastcgi Additionally there is mod_deflate in use, as well as gzip-compression via PHP. I would like to append a string and/or replace the body-tag of any served document, no matter if it is plain .html or parsed .php and no m

Re: [us...@httpd] 401 Error with Basic Auth

2010-01-11 Thread cgswtsu78
Hi Eric, I'm mimicking what we currently have for other secured resources...although this is the first java based resource that we're trying to apply basic auth to. One thing I do notice in my tomcat log is that the first request to the secured resource is fine, but any subsequent request throw

Re: [us...@httpd] Redirection from DocumentRoot

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 03:08 PM, Petr Hracek wrote: Hello *, sorry for bother you with this (may be simple) question but I have following problem. Let's say that my document root is situated to the /usr/apache/htdocs/ Is it possible to configure apache so that after accessing to the DocumentRoot page th

Re: [us...@httpd] Too many '500 Error'

2010-01-11 Thread Tom Evans
On Mon, Jan 11, 2010 at 3:59 PM, Nilesh Govindarajan wrote: > On 01/11/2010 05:12 PM, Tom Evans wrote: >> >> On Mon, Jan 11, 2010 at 5:28 AM, Nilesh Govindarajan >>  wrote: >> >> No actually, all pages open. But sometimes it takes really long >> although >> there's no traffic out t

Re: [us...@httpd] Too many '500 Error'

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 05:12 PM, Tom Evans wrote: On Mon, Jan 11, 2010 at 5:28 AM, Nilesh Govindarajan wrote: No actually, all pages open. But sometimes it takes really long although there's no traffic out there. And I checked the log to see this - FastCGI: incomplete headers (0 bytes) received from se

Re: [us...@httpd] PHP5 in httpd.conf

2010-01-11 Thread Frank Gingras
Jos Chrispijn wrote: Recently migrated from Apache 1.3.x to Apache 2.2.x What I knew from 1.3.x is that I had to add some extra lines in the httpd.conf, in order to have PHP5 working. As it is now working without problems, can someone tell my why in httpd.conf doesn't include this anymore

[us...@httpd] PHP5 in httpd.conf

2010-01-11 Thread Jos Chrispijn
Recently migrated from Apache 1.3.x to Apache 2.2.x What I knew from 1.3.x is that I had to add some extra lines in the httpd.conf, in order to have PHP5 working. As it is now working without problems, can someone tell my why in httpd.conf doesn't include this anymore DirectoryIndex

RE: [us...@httpd] :Mod rewrite

2010-01-11 Thread Marcin 'Rambo' Roguski
Oops, sorry for unnecessary confusion then -- - 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: users-unsubscr...@htt

RE: [us...@httpd] :Mod rewrite

2010-01-11 Thread Oliver Schoenborn
> From: Marcin 'Rambo' Roguski [mailto:ra...@id.uw.edu.pl] > > > Marcin, I'm also curious about your statement about security hole when > > spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about > > spoofing URL's (which can include domain name part)? > > As you mentioned, remappin

RE: [us...@httpd] Mod_Rewrite voodoo

2010-01-11 Thread Oliver Schoenborn
> From: Reese [mailto:howel...@inkworkswell.com] > > >> I tried: > >> > >> RewriteEngine On > >> RewriteCond %{HTTP_HOST} subdomain\.domain\.ext > >> RewriteCond %{REQUEST_URI} ^/20\d+ > >> RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] > >> > >> For http://subdomain.domain.ext/fileDDMMY

Re: [us...@httpd] unsubscribe

2010-01-11 Thread dhottinger
Sorry, its monday Quoting Dan Schaefer : read the footer of any email to this list. Dan Schaefer Web Developer/Systems Analyst Performance Administration Corp. dhottin...@harrisonburg.k12.va.us wrote: - The official Us

RE: [us...@httpd] :Mod rewrite

2010-01-11 Thread Marcin 'Rambo' Roguski
> Marcin, I'm also curious about your statement about security hole when > spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about > spoofing URL's (which can include domain name part)? As you mentioned, remapping is not the same as spoofing. Imagine someone's ability to send you bac

Re: [us...@httpd] unsubscribe

2010-01-11 Thread Dan Schaefer
read the footer of any email to this list. Dan Schaefer Web Developer/Systems Analyst Performance Administration Corp. dhottin...@harrisonburg.k12.va.us wrote: - The official User-To-User support forum of the Apache HTTP

[us...@httpd] unsubscribe

2010-01-11 Thread dhottinger
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools "Everything should be made as simple as possible, but not simpler." -- Albert Einstein "The hottest places in Hell are reserved for those who, in times of moral crisis, preserved their neutrality." -- Dante ---

RE: [us...@httpd] :Mod rewrite

2010-01-11 Thread Oliver Schoenborn
> From: Marcin 'Rambo' Roguski [mailto:ra...@id.uw.edu.pl] > > >> Instead of display a dummy url : > >> http://s1.ncs.com/inventoryappl > > > spoofing DNS, I'm not at all sure what he was talking about > > From my understanding the question was if one can hide real url and > display a fake one

[us...@httpd] Looking for books about Apache Server-Administration

2010-01-11 Thread thomas2004
Hi all, Can someone recommend me some books about Apache Server-Admin, especially about communication between Tomcat and Apache Http, configuration of mod_jk etc. -- View this message in context: http://old.nabble.com/Looking-for-books-about-Apache-Server-Administration-tp27110594p27110594.html

Re: [us...@httpd] :Mod rewrite

2010-01-11 Thread Marcin 'Rambo' Roguski
>> Instead of display a dummy url : >> http://s1.ncs.com/inventoryappl > spoofing DNS, I'm not at all sure what he was talking about >From my understanding the question was if one can hide real url and display a fake one at users client (i.e. browser). --

Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 06:23 PM, Eric Covener wrote: On Mon, Jan 11, 2010 at 12:31 AM, Nilesh Govindarajan wrote: On 01/11/2010 10:45 AM, Marcos Mendez wrote: You should configure a NameVirtualHost on port 443. And use something like this - That sounds completely unnecessary, what's it

Re: [us...@httpd] :Mod rewrite

2010-01-11 Thread Rich Bowen
On Jan 11, 2010, at 07:52 , pkm2112 wrote: Hello experts, need help From http://clc.ncs.com/inventoryappl, I'm redirected to http://server1.ncs.com/inventoryappl. I want to hide http://server1.ncs.com/inventoryappl. Instead of display a dummy url : http://s1.ncs.com/inventoryappl Can it b

Re: [us...@httpd] :Mod rewrite

2010-01-11 Thread Marcin 'Rambo' Roguski
> Can it be done with RewriteRule. I'm new to Apache, kindly specify > configuration. No, and it would be extremely big security hole to spoof a domain name. However you might just create a DNS CNAME record for the domain name and use it. -- --

Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-11 Thread Eric Covener
On Mon, Jan 11, 2010 at 12:31 AM, Nilesh Govindarajan wrote: > On 01/11/2010 10:45 AM, Marcos Mendez wrote: > You should configure a NameVirtualHost on port 443. And use something like > this - > > >     > > That sounds completely unnecessary, what's it supposed to accomplish? -- Eric Co

[us...@httpd] :Mod rewrite

2010-01-11 Thread pkm2112
Hello experts, need help >From http://clc.ncs.com/inventoryappl, I'm redirected to http://server1.ncs.com/inventoryappl. I want to hide http://server1.ncs.com/inventoryappl. Instead of display a dummy url : http://s1.ncs.com/inventoryappl Can it be done with RewriteRule. I'm new to Apache, ki

Re: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread Eric Covener
On Mon, Jan 11, 2010 at 3:54 AM, ChiaTzung Liu wrote: > Request a file, something like "GET " > In addition, if Server connects to the other PPPoE Server, it is ok.. > > For example... > Server --> self_PPPoE Server --> ISP PPPoE Server (PASS) > Server --> ISP PPPoE Server (FAIL) I would nai

Re: [us...@httpd] Too many '500 Error'

2010-01-11 Thread Tom Evans
On Mon, Jan 11, 2010 at 5:28 AM, Nilesh Govindarajan wrote: No actually, all pages open. But sometimes it takes really long although there's no traffic out there. And I checked the log to see this - FastCGI: incomplete headers (0 bytes) received from server "/usr/local/apa

Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-11 Thread Marcos Mendez
Thank you! On Mon, Jan 11, 2010 at 12:31 AM, Nilesh Govindarajan wrote: > On 01/11/2010 10:45 AM, Marcos Mendez wrote: >> >> Hi, >> >> I've purchased a GoDaddy certificate to secure two websites. I've got >> the virtual hosts configured correctly for port 80, but when I use >> https, the browser

[us...@httpd] Redirection from DocumentRoot

2010-01-11 Thread Petr Hracek
Hello *, sorry for bother you with this (may be simple) question but I have following problem. Let's say that my document root is situated to the /usr/apache/htdocs/ Is it possible to configure apache so that after accessing to the DocumentRoot page there will be done automatic redirection to the

RE: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread ChiaTzung Liu
Request a file, something like "GET " In addition, if Server connects to the other PPPoE Server, it is ok.. For example... Server --> self_PPPoE Server --> ISP PPPoE Server (PASS) Server --> ISP PPPoE Server (FAIL) -Original Message- From: Nilesh Govindarajan [mailto:li...@itech7.com]

Re: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 01:48 PM, ChiaTzung Liu wrote: But I don't enable proxy.c in httpd. In addition, these captured packages is captured in LAN directly, not in WAN. So I think not proxy issue. -Original Message- From: Nilesh Govindarajan [mailto:li...@itech7.com] Sent: Monday, January 11, 20

RE: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread ChiaTzung Liu
But I don't enable proxy.c in httpd. In addition, these captured packages is captured in LAN directly, not in WAN. So I think not proxy issue. -Original Message- From: Nilesh Govindarajan [mailto:li...@itech7.com] Sent: Monday, January 11, 2010 4:13 PM To: users@httpd.apache.org Subject:

Re: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 01:27 PM, ChiaTzung Liu wrote: Hi all, I meet a problem about HTTP over PPPoE. I describe my question firstly, and thanks for your help. I establish a HTTP Server Apache/2.2.9 in Unix, and it connects to Internet by PPPoE. Then, I use other pc in WAN to download a file from Serve