[EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-06 Thread Jacky
Dear all,   In our project, we are using apache 2.0 series (2055) load balancing to 2 resin professional servers using mod_caucho module. Solaris 9 is our production platform. From my understanding, apache will serve all the static files (html, images, etc..) and resin will serve all the

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Saline Erik
On Sep 6, 2006, at 12:19 PM, Leon Sargent wrote: On Sep 6, 2006, at 3:10 PM, Joshua Slive wrote: The mailing list works better for people who know enough about apache to formulate more-complete questions.] Never have I been spoken to on any email list in the manner you have just spoken

Re: [EMAIL PROTECTED] caching

2006-09-06 Thread carlesg
> On 9/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: >> I'm usig apache disk_cache for images in front of a plone site >> >> CacheEnable disk / >> CacheRoot "/data/cache/mod_proxy/zeo" >> CacheSize 95 >> ExpiresActive On >> ExpiresByType image/gif A9600 >> Expires

Re: [EMAIL PROTECTED] caching

2006-09-06 Thread Joshua Slive
On 9/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm usig apache disk_cache for images in front of a plone site CacheEnable disk / CacheRoot "/data/cache/mod_proxy/zeo" CacheSize 95 ExpiresActive On ExpiresByType image/gif A9600 ExpiresByType image/jpeg A9600

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: On Sep 6, 2006, at 3:10 PM, Joshua Slive wrote: > The mailing list works > better for people who know enough about apache to formulate > more-complete questions.] Never have I been spoken to on any email list in the manner you have just spoke

[EMAIL PROTECTED] caching

2006-09-06 Thread carlesg
I'm usig apache disk_cache for images in front of a plone site CacheEnable disk / CacheRoot "/data/cache/mod_proxy/zeo" CacheSize 95 ExpiresActive On ExpiresByType image/gif A9600 ExpiresByType image/jpeg A9600 ExpiresByType image/png A9600 After a few hous of clea

Re: [EMAIL PROTECTED] Getting the configuration right no .htaccess files maybe all in httpd.conf file?

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: Can I put all this in the http.conf file and remove the two .htaccess files? Yes. But as I've already pointed out, most of what you put under "Apple required code" is complete garbage. Joshua. ---

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 3:10 PM, Joshua Slive wrote: The mailing list works better for people who know enough about apache to formulate more-complete questions.] Never have I been spoken to on any email list in the manner you have just spoken to me. I will take my second grade english and go

[EMAIL PROTECTED] Getting the configuration right no .htaccess files maybe all in httpd.conf file?

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 2:57 PM, Joshua Slive wrote: Security, my URL SEO to function and the Apple code from the htaccess file all put where they belong so they function. This is too vague to answer. This is the start of my .htaccess file in both Admin and Documents. AllowOverride AuthConfig

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: On Sep 6, 2006, at 2:57 PM, Joshua Slive wrote: > > This is simple. Just look through httpd.conf and all your .htaccess > files for all the Options directives, and make sure that none of them > contain "Indexes" as one of the Options. The onl

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: On Sep 6, 2006, at 2:57 PM, Joshua Slive wrote: > Yes, in a section corresponding to the location of the > content. DocumentRoot "/Library/WebServer/Documents" Before /Library would be my harddrive name. Documents is where my whole website

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 2:57 PM, Joshua Slive wrote: This is simple. Just look through httpd.conf and all your .htaccess files for all the Options directives, and make sure that none of them contain "Indexes" as one of the Options. The only one I found so far is here in httpd.conf O

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 2:57 PM, Joshua Slive wrote: Yes, in a section corresponding to the location of the content. DocumentRoot "/Library/WebServer/Documents" Before /Library would be my harddrive name. Documents is where my whole website is stored, files and directories. So for my URL

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: On Sep 6, 2006, at 2:34 PM, Joshua Slive wrote: > It looks to me that you are working off some lousy documentation > someplace. Why not instead simply tell us what you want to do. All I want to do is not allow someone to type in my website l

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 2:34 PM, Joshua Slive wrote: It looks to me that you are working off some lousy documentation someplace. Why not instead simply tell us what you want to do. All I want to do is not allow someone to type in my website lhsmarkets.com with a directory that does not have an

Re: [EMAIL PROTECTED] URL SEO code in .htaccesss file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: This is the correct way of putting in the URL SEO code into a .htaccess file? There is no way to answer that. It depends on the specific needs of the site and the specific applications you are running. If you are having a problem, we need to

Re: [EMAIL PROTECTED] Apache HTTPD.conf questions.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.html My admin and store files are index.php. Do I need to change this? Did you rea

Re: [EMAIL PROTECTED] More from my httpd.conf file.

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir Documents I do not understand this. I don't understand who this works. Ummm... This is for mapping a specif

RE: [EMAIL PROTECTED] URL Rewriting Question

2006-09-06 Thread Carles Güell
Hi Mark, With Zope / Plone yor config in apache should be: RewriteCond %{HTTP_HOST} !^www\.* [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.%{HTTP_HOST}/$1 [L,R] ServerName test.com ServerAlias www.test.com RewriteRule ^/(.*) http://192.168.20.130:8080/VirtualHostBase

Re: [EMAIL PROTECTED] URL Rewriting Question

2006-09-06 Thread Joshua Slive
On 9/6/06, Mark Phillips <[EMAIL PROTECTED]> wrote: I have a domain (call it test.com for the purpose of this question - it is not the real domain) parked with a domain name registrar. They provide free domain name forwarding. I have a server behind our firewall running apache 2.0 and zope/plone

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Joshua Slive
[Try a more descriptive subject line next time.] On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: Controls who can get stuff from this server. Order allow,deny Allow from all I have looked this up but still do not understand what it means. Does it mean anyone can access my webserver?

Re: [EMAIL PROTECTED] Verifying Apapche httpd.conf and other files one piece at a time as requested/

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 2:30 PM, Joshua Slive wrote: 2. You should probably just avoid .htaccess entirely. As the .htaccess tutorial explains, anything that can be done inside .htaccess can also be done in a section in httpd.conf. So just use httpd.conf and everything is simpler (no need to bothe

[EMAIL PROTECTED] URL SEO code in .htaccesss file.

2006-09-06 Thread Leon Sargent
This is the correct way of putting in the URL SEO code into a .htaccess file?AllowOverride AuthConfigAuthUserFile lhsmarkets.com/Library/WebServer/Documents/.htpasswdAuthGroupFile /dev/nullAuthName "Password Protected Area"AuthType BasicOptions +FollowSymLinksRewriteEngine OnRewriteBase /Documents/

Re: [EMAIL PROTECTED] Verifying Apapche httpd.conf and other files one piece at a time as requested/

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: This is the first part of my httpd.conf file. # First, we configure the "default" to be a very restrictive set of # permissions. # Options FollowSymLinks AllowOverride None Will this code override this code in my .htaccess file? Al

[EMAIL PROTECTED] Apache HTTPD.conf questions.

2006-09-06 Thread Leon Sargent
DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.html My admin and store files are index.php. Do I need to change this? Leon ---

Re: [EMAIL PROTECTED] Apache 2.0 starts but won't serve documents

2006-09-06 Thread William A. Rowe, Jr.
Al McNicoll wrote: > -- I've used Win32DisableAcceptEx (the server was crashing and logging > several AcceptEx errors per second otherwise) That's a good start, and tells us that you have a non-standard windows sockets stack. If it has buggy drivers, assume that EnableSendfile and EnableMMap shou

[EMAIL PROTECTED] More from my httpd.conf file.

2006-09-06 Thread Leon Sargent
UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir Documents I do not understand this. I don't understand who this works. In my .htaccess file I have all directories restricted from outside users unless there

[EMAIL PROTECTED] URL Rewriting Question

2006-09-06 Thread Mark Phillips
I have a domain (call it test.com for the purpose of this question - it is not the real domain) parked with a domain name registrar. They provide free domain name forwarding. I have a server behind our firewall running apache 2.0 and zope/plone with a plone site (call it plone-site for this que

[EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-06 Thread Leon Sargent
Controls who can get stuff from this server. Order allow,deny Allow from all I have looked this up but still do not understand what it means. Does it mean anyone can access my webserver? Does this line from my >htaccess file override that. Documents is where my website is located.

[EMAIL PROTECTED] More on my Apache configuration

2006-09-06 Thread Leon Sargent
Options FollowSymLinks MultiViews I never could figure out what this was for in my Httpd.conf file. # # This controls which options the .htaccess files in directories can # override. AllowOverride All Does this allow the stuff I have in my .htaccess file I posted earlier such as the URL

[EMAIL PROTECTED] Verifying Apapche httpd.conf and other files one piece at a time as requested/

2006-09-06 Thread Leon Sargent
This is the first part of my httpd.conf file. # First, we configure the "default" to be a very restrictive set of # permissions. # Options FollowSymLinks AllowOverride None Will this code override this code in my .htaccess file? AllowOverride AuthConfig AuthUserFile lhsmarkets.com/Lib

[EMAIL PROTECTED] custom output to check_user_id()

2006-09-06 Thread Praveen Alavilli
Is there a way to handle un-authentication in a module-specified *check_user_id() such that a formatted string can be applied to the request and HTTP_OK returned so that the request is terminated and the document returned? *check_user_id() calls decl_die() upon non-zero status that in turn te

Re: [EMAIL PROTECTED] userdir on different server

2006-09-06 Thread Susan Roesner RZ
Hi, thank your for your fast answer, I should have thought that more information are needed. One thing I also forgot to mention is that I need to keep a homogeneous URL layout - so even if I install an apache on the userdirserver the url must not change. All are Unix(Solaris10) Systems. So f

Re: [EMAIL PROTECTED] I believe I've been compromised.

2006-09-06 Thread Tom Ray [Lists]
Thanks! I spent most of my weekend getting it cleaned up, I found about 5 or so bad files in about a half dozen sites, all created by wwwrun and only in directories that where set to 777 by the clients. Just for everyone's sake I'm going to post them here. These I found floating on their own

Re: [EMAIL PROTECTED] userdir on different server

2006-09-06 Thread Joshua Slive
On 9/6/06, Susan Roesner RZ <[EMAIL PROTECTED]> wrote: Hi, I have an apache 2.x running and need to include userdirs. The problem is that they are on a different server which is not a webserver. I tried to find a solution on the internet but I only found one with RewriteRules if the userdirs ar

[EMAIL PROTECTED] userdir on different server

2006-09-06 Thread Susan Roesner RZ
Hi, I have an apache 2.x running and need to include userdirs. The problem is that they are on a different server which is not a webserver. I tried to find a solution on the internet but I only found one with RewriteRules if the userdirs are on a different webserver. As there is no webserver r

Re: [EMAIL PROTECTED] My http.conf file and .htaccess file along with URL SEO installation instructions for .htaccess files

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 10:39 AM, Joshua Slive wrote: This list is not a consulting service where you can dump your config file and ask for it to be analyzed. It is a technical mailing list where you can ask specific questions and include small, relevant config excerpts. Okay that is fine... I

Re: [EMAIL PROTECTED] Apache 2.0 starts but won't serve documents

2006-09-06 Thread Joshua Slive
On 9/6/06, Al McNicoll <[EMAIL PROTECTED]> wrote: Hi all, just wondering if anyone here has seen this problem before or has an idea what could be the root cause - other forums and Google have turned up nothing... -- SETUP: -- - Apache 2.0 running on XP Pro (laptop) - httpd.conf unchanged

[EMAIL PROTECTED] Apache 2.0 starts but won't serve documents

2006-09-06 Thread Al McNicoll
Hi all, just wondering if anyone here has seen this problem before or has an idea what could be the root cause - other forums and Google have turned up nothing... -- SETUP: -- - Apache 2.0 running on XP Pro (laptop) - httpd.conf unchanged from the standard distribution, except that: -- I'v

Re: [EMAIL PROTECTED] My http.conf file and .htaccess file along with URL SEO installation instructions for .htaccess files

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: Thank you for looking this over.. Let me know of any changes as I just put this together from what I had researched. Sorry, but let's start this again. This list is not a consulting service where you can dump your config file and ask for it

Re: [EMAIL PROTECTED] SSLCACertificateFile

2006-09-06 Thread Joshua Slive
On 9/6/06, Milan Tomic <[EMAIL PROTECTED]> wrote: Is it possible to specify SSLCACertificateFile command several times in ssl.conf (for each Location)? I would like to tell Apache which certs to let come in depending on location. Example: a) into www.myserver.org/app1 let users which have cer

[EMAIL PROTECTED] My http.conf file and .htaccess file along with URL SEO installation instructions for .htaccess files

2006-09-06 Thread Leon Sargent
Http.conf file from Apache 1.3.3 Mac OS X 10.4.7ServerName www.lhsmarkets.com## DocumentRoot: The directory out of which you will serve your# documents. By default, all requests are taken from this directory, but# symbolic links and aliases may be used to point to other locations.#DocumentRoot "/Li

[EMAIL PROTECTED] SSLCACertificateFile

2006-09-06 Thread Milan Tomic
Is it possible to specify SSLCACertificateFile command several times in ssl.conf (for each Location)? I would like to tell Apache which certs to let come in depending on location. Example: a) into www.myserver.org/app1 let users which have certs issued from CA1 or CA2 b) into www.myserver.org/a

[EMAIL PROTECTED] REPOST: SSL: Forwarding user certificate from apache to another server

2006-09-06 Thread Milan Tomic
--- Milan Tomic <[EMAIL PROTECTED]> wrote: Users log into apache through SSL and I'm forwarding user cert from apache to (another) app server. The problem is that user cert, which is sent as HTTP header param (base64 encoded), spans several lines: GET /LoginTest/servletheaderview HTTP/1.1 Host:

Re: [EMAIL PROTECTED] Before I post, this is the list for users of Apache with question about it's operation and set up

2006-09-06 Thread Leon Sargent
On Sep 6, 2006, at 9:32 AM, Joshua Slive wrote: The first thing you should do is read: http://httpd.apache.org/docs/2.2/howto/htaccess.html which seems to answer a couple of your questions. Thank you Joshua. I had used that page and a few others to create my directives and my .htaccess fi

[EMAIL PROTECTED] Using connection pooling mod_dbd

2006-09-06 Thread Sebi
I want to use a connection pooling in my web system. I dont want to use standard pConnect() function which will create a persistent connection. So, i'm interested about the mod_dbd module and its dynamic connection pooling. How can I use mod_dbd APIs and where can i find a complete documentation a

Re: [EMAIL PROTECTED] Before I post, this is the list for users of Apache with question about it's operation and set up

2006-09-06 Thread Joshua Slive
On 9/6/06, Leon Sargent <[EMAIL PROTECTED]> wrote: I have some questions about .htaccess in my root directory and my admin directory Questions about how .htaccess and spider.txt and robot.txt effect URL SEO add on to my website. And the directives I set up in my httpd.conf file for apache and

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Joshua Slive
On 9/6/06, Norman Khine <[EMAIL PROTECTED]> wrote: Thanks for your reply, I was looking at the http://httpd.apache.org/docs/2.2/misc/rewriteguide.html documentation and perhaps something like this may work... RewriteEngine on RewriteCond %{*HTTP_HOST*} *[^.]+*\.host\.com$ Rewr

[EMAIL PROTECTED] Before I post, this is the list for users of Apache with question about it's operation and set up

2006-09-06 Thread Leon Sargent
I have some questions about .htaccess in my root directory and my admin directory Questions about how .htaccess and spider.txt and robot.txt effect URL SEO add on to my website. And the directives I set up in my httpd.conf file for apache and how that effects .htaccess files. I also wa

Re: [EMAIL PROTECTED] Apache - TRACE vulnerability solution

2006-09-06 Thread William A. Rowe, Jr.
Swapan Gupta wrote: > > I am using Apache 2.0.54 and trying out the suggested solution for the > Http TRACE vulnerability as mentioned at > using the mod_rewrite module and specifying the following lines in > .htaccess file. Whoops. NO. You can't play this game at the directory level, modify yo

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Norman Khine
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 >> >> Hello, >> Is it possible to create an Apache Rewrite

[EMAIL PROTECTED] Apache - TRACE vulnerability solution

2006-09-06 Thread Swapan Gupta
Title: Apache - TRACE vulnerability solution Hi, I am using Apache 2.0.54 and trying out the suggested solution for the Http TRACE vulnerability as mentioned at https://www.kb.cert.org/vuls/id/867593 using the mod_rewrite module and specifying the following lines in .htaccess file. Rewrite

RE: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Boyle Owen
> -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 > > Hello, > Is it possible to create an Apache Rewrite rule so that the > depe

[EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Norman Khine
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