[us...@httpd] Can I just compile once and copy the installed server to multi machines?

2009-01-13 Thread Tian You
Hi friends, My problem is that: I have two same machines to install apache server. On one machine, I compile and install the server under the default location /usr/local/apache2, and it works fine. And then I want to skip the installation, and just copy the installed server to the other machine. S

[us...@httpd] animated gif play or no play?

2009-01-13 Thread PJ
Here's a weird one: the exact same animated gif plays fine on my local server when addressed directly to the file - but it does not play on the virtual site on the local server. In other words, http://my_server/ptahhotep/images/email1.gif plays fine - on & on & on http://egypt/images/email1.gif

Re: [us...@httpd] mod_rewrite redirects instead of silent rewrite

2009-01-13 Thread Bob Ionescu
2009/1/13 Marcin : > I've tried to add > > RewriteEngine On > RewriteCond %{HTTP_HOST} (.+)\.demo\.myapp\.com$ > RewriteRule ^/$ /usersite/%1 > > but the effect is that apache is looking for a file /some/path/usersite/lucy May be you want to add the [PT] flag? Bob ---

[us...@httpd] mod_rewrite redirects instead of silent rewrite

2009-01-13 Thread Marcin
Hi, I hope that you could help me, because I've spent hours on googling and reading mod_rewrite docs and still can't get it working... What I want to achieve as a final effect is that GET requests like http://john.demo.myapp.com/ http://lucy.demo.myapp.com/ will be internally rewritten and s

Re: [us...@httpd] Apache 2.2.8 with mod_jk : timeout in reply pong

2009-01-13 Thread Mohamed Rafi Sirajuddeen
Hi, Yes, the port 40593 is the ajp connector port. The http connector listens on port 40592, and we're not using that in workers.properties. Regards Siraj M >What tomcat connector is using port 40593? Since you can connect to it >from a browser it sounds like HTTP. Apache/mod_jk needs to conn

Re: [us...@httpd] Apache Web Server 2.2.11 compatibility with Tomcat 5.5.17?

2009-01-13 Thread André Warnier
Ian Lea wrote: Yes, I think so. I've certainly had apache 2.2.x talking to tomcat 5.5.x although maybe not specifically 2.2.11 to 5.5.17. Nowadays I use mod_proxy_ajp rather than mod_jk but as far as I'm aware either would work for your setup. For talking to tomcat, apache won't know or care a

Re: [us...@httpd] configure script creating unsolicited dependencies

2009-01-13 Thread Michael Ludwig
Michael Ludwig schrieb: I want an Apache with the standard modules plus mod_rewrite. ./configure --prefix=/usr/local/apache22w \ --with-mpm=worker --enable-rewrite I solved this by adding the follwing option: --with-included-apr lobster:/usr/local/src/httpd-2.2.11# ldd httpd linux-g

Re: [us...@httpd] configure script creating unsolicited dependencies

2009-01-13 Thread Michael Ludwig
Ian Lea schrieb: I'd guess that the configure script is scanning your system and if it finds libraries for XXX it enables the XXX module. You could try disabling some things: ./configure --disable-XXX Thanks for this answer. Then, of course, I'd have to figure out what to --disable-* in order

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread john.swilting
Eric Covener a écrit : On Tue, Jan 13, 2009 at 9:23 AM, john.swilting wrote: What's the question? well put TraceEnable Directive Yes. thanks for your feedback - The official User-To-User support forum

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 9:23 AM, john.swilting wrote: >> What's the question? > well put TraceEnable Directive Yes. -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project

Re: [us...@httpd] REQUIRES LDAP-GROUP question

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 9:37 AM, Oliver Marshall wrote: > Hi chaps, > > Is there a way to *exclude* members of an LDAP group from being able to > authenticate? Currently we use "requires ldap-group" but we now need more > granularity and have to exclude certain groups from new sites. Not with 2

Re: [us...@httpd] Apache Web Server 2.2.11 compatibility with Tomcat 5.5.17?

2009-01-13 Thread Ian Lea
Yes, I think so. I've certainly had apache 2.2.x talking to tomcat 5.5.x although maybe not specifically 2.2.11 to 5.5.17. Nowadays I use mod_proxy_ajp rather than mod_jk but as far as I'm aware either would work for your setup. For talking to tomcat, apache won't know or care about your version

[us...@httpd] Apache Web Server 2.2.11 compatibility with Tomcat 5.5.17?

2009-01-13 Thread Curry, Steve
Our current versions are as follows: Apache Web Server 2.0.58 Apache Tomcat 5.5.17 Java 1.4.2_11 We would like to upgrade our Apache Web Server to 2.2.11. Could we keep the rest of the above the same? - Thanks in advance for your time, Steve The informatio

Re: [us...@httpd] configure script creating unsolicited dependencies

2009-01-13 Thread Ian Lea
I'd guess that the configure script is scanning your system and if it finds libraries for XXX it enables the XXX module. You could try disabling some things: ./configure --disable-XXX -- Ian. On Tue, Jan 13, 2009 at 2:26 PM, Michael Ludwig wrote: > Michael Ludwig schrieb: >> >> I want an Apach

[us...@httpd] REQUIRES LDAP-GROUP question

2009-01-13 Thread Oliver Marshall
Hi chaps, Is there a way to *exclude* members of an LDAP group from being able to authenticate? Currently we use "requires ldap-group" but we now need more granularity and have to exclude certain groups from new sites. Olly -- G2 Support Online Backups Email:  oliver.marsh...@g2support.com W

Re: [us...@httpd] configure script creating unsolicited dependencies

2009-01-13 Thread Michael Ludwig
Michael Ludwig schrieb: I want an Apache with the standard modules plus mod_rewrite. ./configure --prefix=/usr/local/apache22w \ --with-mpm=worker --enable-rewrite However, I do get a lot of extra stuff. This is not what I want. lobster:/usr/local/src/httpd-2.2.11# ldd httpd [libsqlite3,

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread john.swilting
Eric Covener a écrit : On Tue, Jan 13, 2009 at 7:22 AM, swilting wrote: I do not understand well the doc http://fakessh.eu/httpd.txt help me very thanks help I am self-taught that is why it is so hard What's the question? -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] Serving default error pages after CGI?

2009-01-13 Thread Brian Mearns
On Tue, Jan 13, 2009 at 7:21 AM, Eric Covener wrote: > On Tue, Jan 13, 2009 at 7:11 AM, Sacha Varma wrote: >> I've been unable to google up the answer to this, so if anyone can help it >> would be much appreciated. >> >> The CGI standard (RFC 3875, 6.3.3) allows a CGI script to output an HTTP >>

Re: [us...@httpd] Apache and Port 80 and 443

2009-01-13 Thread Brian Mearns
> On Mon, Jan 12, 2009 at 8:36 PM, Jason Todd Slack-Moehrle > wrote: >> HI All, >> >> I have a new Mac Pro that will be hosting my "web presence". >> >> I am running Apache2 and I have everything working on one IP. >> >> I want to run my online store on a separate IP and NIC and port 443. >> >> So

Re: [us...@httpd] Apache and Port 80 and 443

2009-01-13 Thread Brian Mearns
No, there's quite a bit more than that if you want to use secure HTTP. The standard is to use mod_ssl to set up SSL/TLS support. It's not too difficult, but there's quite a bit of details. I highly suggest you read all the way through the documentation starting with the overview at http://httpd.apa

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread André Warnier
Ian Lea wrote: I'd guess the problem is that apache is running under user x and tomcat is running under user y, and user x doesn't by default have permission to read files created by user y. Possible solutions include: Run apache and tomcat as same user Play with umask and directory setting

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 7:22 AM, swilting wrote: > I do not understand well the doc > > http://fakessh.eu/httpd.txt > > help me > > very thanks > > help > > I am self-taught that is why it is so hard > What's the question? -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread swilting
I do not understand well the doc http://fakessh.eu/httpd.txt help me very thanks help I am self-taught that is why it is so hard Le mardi 13 janvier 2009 à 07:01 -0500, Eric Covener a écrit : > On Tue, Jan 13, 2009 at 6:54 AM, swilting wrote: > > Directive TraceEnable or should be? > > > >

Re: [us...@httpd] Serving default error pages after CGI?

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 7:11 AM, Sacha Varma wrote: > I've been unable to google up the answer to this, so if anyone can help it > would be much appreciated. > > The CGI standard (RFC 3875, 6.3.3) allows a CGI script to output an HTTP > status code header (e.g. 'Status: 404 Not Found'). A response

[us...@httpd] Serving default error pages after CGI?

2009-01-13 Thread Sacha Varma
I've been unable to google up the answer to this, so if anyone can help it would be much appreciated. The CGI standard (RFC 3875, 6.3.3) allows a CGI script to output an HTTP status code header (e.g. 'Status: 404 Not Found'). A response body is optional. My CGI program outputs just this stat

Re: [us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 6:54 AM, swilting wrote: > Directive TraceEnable or should be? > > where? > > a location You'll have to elaborate or read the manual. Each directive lists the contexts in which it's valid. http://httpd.apache.org/docs/2.2/mod/core.html#traceenable http://httpd.apache.org

[us...@httpd] Directive TraceEnable or should be?

2009-01-13 Thread swilting
Directive TraceEnable or should be? where? a location ? thanks - 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:

Re: [us...@httpd] my page index php or perl. php. pl is not load at startup

2009-01-13 Thread swilting
sorry it was a legal problem of users. the problem is resolved Le mardi 13 janvier 2009 à 10:34 +, Ian Lea a écrit : > DirectoryIndex? > > > -- > Ian. > > > On Tue, Jan 13, 2009 at 10:27 AM, swilting wrote: > > my page index php or perl .php .pl is not load at startup > > > > > >> why? >

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-13 Thread Michael Ludwig
Bob Ionescu schrieb: 2009/1/12 Michael Ludwig : Bob Ionescu schrieb: http://httpd.apache.org/docs/2.2/sections.html#mergin Thanks. This helps a bit. But I still don't quite understand the meaning of "be applied" and "be evaluated" in this section. Does this refer to the merging, Yes, merging

Re: [us...@httpd] mod_proxy_html.c: error: initializer element is not constant

2009-01-13 Thread Nick Kew
On Mon, 12 Jan 2009 11:57:43 + Arthur Mead wrote: > I'm using the MinGW Compiler (the Windows version of GNU gcc-3.4.5) > in WindowsXP. Patch available at https://issues.apache.org/bugzilla/show_bug.cgi?id=46175 Not sure if any of the core devs have tested it: it's not a widely-used platf

Re: [us...@httpd] my page index php or perl. php. pl is not load at startup

2009-01-13 Thread Ian Lea
DirectoryIndex? -- Ian. On Tue, Jan 13, 2009 at 10:27 AM, swilting wrote: > my page index php or perl .php .pl is not load at startup > > >> why? - The official User-To-User support forum of the Apache HTTP Server Project. Se

[us...@httpd] my page index php or perl. php. pl is not load at startup

2009-01-13 Thread swilting
my page index php or perl .php .pl is not load at startup > why? - 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:

Re: [us...@httpd] redirect trailing slash problem

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 2:55 AM, Mike Soultanian wrote: > I have a virtual host that accepts all traffic on port 80 and then forwards > that traffic to another virtual host on port 81: > > RewriteRule /(.*) http://localhost:81/$1 [P,L] > > It works great except when I leave off the backslash. So,

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread Ian Lea
I'd guess the problem is that apache is running under user x and tomcat is running under user y, and user x doesn't by default have permission to read files created by user y. Possible solutions include: Run apache and tomcat as same user Play with umask and directory settings Download the

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread Michael Ludwig
kohanm schrieb: The problem is when they click on the link to open the files that they uploaded before they get a "forbidden" screen. The Java program save upload files on the APache/htdocs directory. To solve that I have to run following command for the htdocs directory. chmod 755 the_name_doc

Re: [us...@httpd] Apache 2.2.8 with mod_jk : timeout in reply pong

2009-01-13 Thread Ian Lea
What tomcat connector is using port 40593? Since you can connect to it from a browser it sounds like HTTP. Apache/mod_jk needs to connect to an ajp tomcat connector. -- Ian. On Tue, Jan 13, 2009 at 12:27 AM, Mohamed Rafi Sirajuddeen wrote: > Hi, > > I have Apache 2.2 installed (on Unix), and

Re: [us...@httpd] How to manage ~150 Webspaces

2009-01-13 Thread Michael Ludwig
m...@bortal.de schrieb: i have about 150 Webspaces on a Linux Box. I start them all in a chroot due to security reasons. Byside that is really easy to "clone" those in order to set up a new account. I was pointed to mod_macro the other day. You might find it handy for mass configuration. http: