[EMAIL PROTECTED] Antwort: [EMAIL PROTECTED] Trying to get SSI directives processed after request has been processed by Tomcat app server.
Hello John, you can activate SSI on tomcat. Look at: http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html regards Dietmar "Pyeatt, John" <[EMAIL PROTECTED]> am 26.04.2006 00:35:25 Bitte antworten an users@httpd.apache.org An: Kopie: Thema: [EMAIL PROTECTED] Trying to get SSI directives processed after request has been processed by Tomcat app server. I am working with a customer with the following basic configuration. They are running Apache 1.3.33 and make heavy used of mod_include. A new project has come up that uses J2EE web applications. Our intent was to have Apache forward requests for .jsp to Tomcat 5 (running on a separate server) via mod_jk.The JSP-generated response would include SSI directives which would subsequently be processed by mod_include on httpd just prior to heading out the wire back to the browser. I suspect the short answer is "you can't do that". If it can be done I would appreciate any guidance with httpd.conf configuration that would work. If the answer is "you can't do that in Apache 1.3.*, but you can in Apache 2.*" then I can investigate that option. I understand the configuration I am talking about is very goofy. The reason for goofiness would take pages to explain and besides, if everything were simple, we'd all be out of work. -- John Pyeatt Berbee Information Networks Phone: 608-288-3000 Cell: 608-658-0871 Email: [EMAIL PROTECTED] - 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] - 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]
Re: [EMAIL PROTECTED] Apache Tomcat Connectors-- Urgent
Hi, On 4/26/06, Indraveni <[EMAIL PROTECTED]> wrote: > I want to connect Apache and Jakartha tomcat applcaitions and so i installed > the connectors using John Turner documentation. I am ablt to access the jsp > pages of jakartha tomcat also through apache web server by just giving the > http:lllocalhost/examples/index.jsp. > > Now what i need is I am not able to do this from a remote system which is > in LAN with my system. If your apache and connector's configurations are fine, it will work from both your local host and any remote PC from within your LAN (if your firewall allows it obviously). > I am able to access http://192.9.200.62/ but > when I am tring to access the jsp pages i.e through connector wth my system > ip from other syetm then an error is popped out > > http://192.9.200.62/examples/index.php I suppose that the index.php is a typing error, isn't it? Did you try to connect to 192.9.200.62:8080? Does tomcat respond at that address? Could you give more information regarding your configuration? Regards, Gaël
Re: [EMAIL PROTECTED] Apache Tomcat Connectors-- Urgent
Hi,can you please post the corresponding lines from the error.log of the apache server? And maybe also the the lines from the mod_jk.log.An excerpt from the config file would also be helpfull.thanks in advanceFalkoAm 26.04.2006 um 08:39 schrieb Indraveni:I want to connect Apache and Jakartha tomcat applcaitions and so i installed the connectors using John Turner documentation. I am ablt to access the jsp pages of jakartha tomcat also through apache web server by just giving the http:lllocalhost/examples/index.jsp. Now what i need is I am not able to do this from a remote system which is in LAN with my system. I am able to access http://192.9.200.62/ but when I am tring to access the jsp pages i.e through connector wth my system ip from other syetm then an error is popped out http://192.9.200.62/examples/index.php show an error like: The requested URL /examples was not found on this server. Apache/2.0.47 (Unix) PHP/5.0.5 mod_jk/1.2.6 Server at 192.9.200.62 Port 80 Can any one tell me how can i access the jsp pages using apahce web server through connectors from a remote system as explanined above. Any help please Thankyou Indraveni Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. ---F a l k o Z u r e l l-mail: mailto:[EMAIL PROTECTED]web: http://www.zurell.de gpg: http://www.zurell.de/falko.zurell-gpg-key.ascblog: http://www.explain-it.org/wordpress/ icq: 327004879
[EMAIL PROTECTED] Apache Tomcat Connectors-- Urgent
I want to connect Apache and Jakartha tomcat applcaitions and so i installed the connectors using John Turner documentation. I am ablt to access the jsp pages of jakartha tomcat also through apache web server by just giving the http:lllocalhost/examples/index.jsp. Now what i need is I am not able to do this from a remote system which is in LAN with my system. I am able to access http://192.9.200.62/ but when I am tring to access the jsp pages i.e through connector wth my system ip from other syetm then an error is popped out http://192.9.200.62/examples/index.php show an error like: The requested URL /examples was not found on this server. Apache/2.0.47 (Unix) PHP/5.0.5 mod_jk/1.2.6 Server at 192.9.200.62 Port 80 Can any one tell me how can i access the jsp pages using apahce web server through connectors from a remote system as explanined above. Any help please Thankyou Indraveni Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
[EMAIL PROTECTED] Apache Tomcat Connectors-- Urgent
I want to connect Apache and Jakartha tomcat applcaitions and so i installed the connectors using John Turner documentation. I am ablt to access the jsp pages of jakartha tomcat also through apache web server by just giving the http:lllocalhost/examples/index.jsp. Now what i need is I am not able to do this from a remote system which is in LAN with my system. I am able to access http://192.9.200.62/ but when I am tring to access the jsp pages i.e through connector wth my system ip from other syetm then an error is popped out http://192.9.200.62/examples/index.php show an error like: The requested URL /examples was not found on this server. Apache/2.0.47 (Unix) PHP/5.0.5 mod_jk/1.2.6 Server at 192.9.200.62 Port 80 Can any one tell me how can i access the jsp pages using apahce web server through connectors from a remote system as explanined above. Any help please Thankyou Indraveni Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
[EMAIL PROTECTED] Reverse proxy problem with content-disposition
Hi, My reverse proxy works very well using httpd 2.0.55.Problem comes when a procedure tries to generate a document using content-disposition on reversed server. There, nothing happens.Removing content-disposition file is correctly relayed.Someone already experienced such a problem ? I could simply remove content-disposition but I'd like to have a readable filename and extension for the client ... Regards, James - 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]
Re: [EMAIL PROTECTED] Trying to get SSI directives processed after request has been processed by Tomcat app server.
On Tuesday 25 April 2006 23:35, Pyeatt, John wrote: > If the answer is "you can't do that in Apache 1.3.*, but you can in Apache > 2.*" then I can investigate that option. That's exactly the answer. -- Nick Kew - 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]
Re: [EMAIL PROTECTED] Trying to get SSI directives processed after request has been processed by Tomcat app server.
On 4/25/06, Pyeatt, John <[EMAIL PROTECTED]> wrote: > If the answer is "you can't do that in Apache 1.3.*, but you can in Apache > 2.*" then I can investigate that option. That is exactly the type of thing that filters in 2.x where designed to do. So theoretically, the sentence above is exactly correct. But I haven't tried this precise scenario myself. Joshua. - 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]
Re: [EMAIL PROTECTED] Documentation in httpd 2.2
On 4/25/06, Richard Collyer <[EMAIL PROTECTED]> wrote: > Martas wrote: > > What is the URL for documentation page when httpd 2.2 is installed? > > Thanks for advice, > > M. > > http://httpd.apache.org/docs/2.2/ If you mean on your local install, it is at http://localhost/docs/ as always, but it is no longer enabled by default. See conf/extra/httpd-manual.conf for an example of how to enable it. Joshua. - 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]
[EMAIL PROTECTED] Trying to get SSI directives processed after request has been processed by Tomcat app server.
I am working with a customer with the following basic configuration. They are running Apache 1.3.33 and make heavy used of mod_include. A new project has come up that uses J2EE web applications. Our intent was to have Apache forward requests for .jsp to Tomcat 5 (running on a separate server) via mod_jk.The JSP-generated response would include SSI directives which would subsequently be processed by mod_include on httpd just prior to heading out the wire back to the browser. I suspect the short answer is "you can't do that". If it can be done I would appreciate any guidance with httpd.conf configuration that would work. If the answer is "you can't do that in Apache 1.3.*, but you can in Apache 2.*" then I can investigate that option. I understand the configuration I am talking about is very goofy. The reason for goofiness would take pages to explain and besides, if everything were simple, we'd all be out of work. -- John Pyeatt Berbee Information Networks Phone: 608-288-3000 Cell: 608-658-0871 Email: [EMAIL PROTECTED] - 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]
Re: [EMAIL PROTECTED] Documentation in httpd 2.2
Martas wrote: What is the URL for documentation page when httpd 2.2 is installed? Thanks for advice, M. http://httpd.apache.org/docs/2.2/ Richard - 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]
[EMAIL PROTECTED] Documentation in httpd 2.2
What is the URL for documentation page when httpd 2.2 is installed? Thanks for advice, M. - 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]
[EMAIL PROTECTED] Integration: PHP 5.1.2, Apache 2.0.55 and Tomcat 5.511 On Windows
Hi List! Introduction I'm having some problems while running a simple (test.php) php script using the following environment: . As OS --> Windows XP . As web server --> Apache 2.0.55 . As connector --> mod_jk2.so . As App server --> Tomcat 5.5.11 . As PHP engine --> PHP 5.1.2 In test.php file the only code written is the one shown below: Problem === I have a lot of web applications with both static/dynamic contents they work fine. The dynamic pages use .jsp and servlets no problem while serving these pages to. The only problem I have is when I try to server a page with the php script like the one mentioned above (i.e test.php). I have configured httpd.conf with the LoadModule directive correctly. I also have checked that the php5apache2.dll is in the right place (drive:\PHP). This is the root dir of the PHP engine. So I don't really know exacly what is the problem but when I try to load the page (test.php) I get the error shown below all the time. Can somebody help me out. I'm really stuck. Error Log = type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.io.IOException: Ĺà net.php.servlet.send(Native Method) net.php.servlet.service(servlet.java:190) net.php.servlet.service(servlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.11 logs. - 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]
Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > > On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > >> Hi, I usually have no problem redirecting based on what is in the URL, > >> but now I'm trying to redirect all pages in a site to one page on the > >> same site. I have to exclude that one page from the redirection process > >> else I get an infinite loop. I've tried numerous combinations of the > >> following, but I can't see to get it to work > >> > >> RewriteCond %{SCRIPT_FILENAME} !^redirect\.html [NC] > >> RewriteRule ^/$ /redirect.html > >> > >> > >> Basically, if the URL doesn't contain 'redirect.html', redirect to > >> redirect.html > > > > (I suspect your example is off, since the RewriteRule above will not > > create a loop; it only addresses one URL.) > > > > Use the RewriteLog to figure out what is going wrong. > > > > Either of these should work: > > RewriteCond %{Request_URI} !^/redirect\.html [NC] > > ... > > or > > RewriteRule ^/redirect\.html - [L] > > > > Joshua. > > > > Hi Joshua, thanks for the response. Unfortunately it doesn't seem to > be working for me. Right now I have this : > > RewriteEngine On > RewriteBase / > RewriteCond %{Request_URI} !^/redirect\.html [NC] > RewriteRule ^/$ /redirect.html > > And none of the pages I go to on the site get redirected. I set up the > rewrite log, and nothing is being entered into there (tailing it). To > ensure that Apache was executing my .htaccess file, I put some bogus > code in it and it thru an error, so that part's working. I often have a need to exclude something from rewriting, and I ususaly do it by having a rule that would match it, but that does not change it, and giving it the L flag. Your problem I would solve like this: RewriteRule ^/redirect∖.html$ /redirect.html [L] RewriteRule ^/.*$ /redirect.html (Nortice also how your rule RewriteRule ^/$ /redirect.html would only match /, not every page) Krist -- [EMAIL PROTECTED] Solothurn, Switzerland
Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Hi Joshua, thanks for the response. Unfortunately it doesn't seem to > be working for me. Right now I have this : > > RewriteEngine On > RewriteBase / > RewriteCond %{Request_URI} !^/redirect\.html [NC] > RewriteRule ^/$ /redirect.html > > And none of the pages I go to on the site get redirected. I set up the > rewrite log, and nothing is being entered into there (tailing it). To > ensure that Apache was executing my .htaccess file, I put some bogus > code in it and it thru an error, so that part's working. If there is nothing in the RewriteLog, then you haven't configured it correctly or your aren't putting your directives in the right place. It is always easiest to do mod_rewrite stuff in the main server or context, and not in sections or .htaccess files. This eliminates a lot of complications. Also, as I already mentioned, something is screwy above. RewriteRule ^/$ matches only a request for "/" and nothing else. If you are using it in an .htaccess file, it very likely matches nothing since the leading slash gets stripped. Perhaps you want RewriteRule .* instead. Joshua. - 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]
Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL
Joshua Slive wrote: On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: Hi, I usually have no problem redirecting based on what is in the URL, but now I'm trying to redirect all pages in a site to one page on the same site. I have to exclude that one page from the redirection process else I get an infinite loop. I've tried numerous combinations of the following, but I can't see to get it to work RewriteCond %{SCRIPT_FILENAME} !^redirect\.html [NC] RewriteRule ^/$ /redirect.html Basically, if the URL doesn't contain 'redirect.html', redirect to redirect.html (I suspect your example is off, since the RewriteRule above will not create a loop; it only addresses one URL.) Use the RewriteLog to figure out what is going wrong. Either of these should work: RewriteCond %{Request_URI} !^/redirect\.html [NC] ... or RewriteRule ^/redirect\.html - [L] Joshua. Hi Joshua, thanks for the response. Unfortunately it doesn't seem to be working for me. Right now I have this : RewriteEngine On RewriteBase / RewriteCond %{Request_URI} !^/redirect\.html [NC] RewriteRule ^/$ /redirect.html And none of the pages I go to on the site get redirected. I set up the rewrite log, and nothing is being entered into there (tailing it). To ensure that Apache was executing my .htaccess file, I put some bogus code in it and it thru an error, so that part's working. -- John C. Nichel IV Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] - 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]
Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Hi, I usually have no problem redirecting based on what is in the URL, > but now I'm trying to redirect all pages in a site to one page on the > same site. I have to exclude that one page from the redirection process > else I get an infinite loop. I've tried numerous combinations of the > following, but I can't see to get it to work > > RewriteCond %{SCRIPT_FILENAME} !^redirect\.html [NC] > RewriteRule ^/$ /redirect.html > > > Basically, if the URL doesn't contain 'redirect.html', redirect to > redirect.html (I suspect your example is off, since the RewriteRule above will not create a loop; it only addresses one URL.) Use the RewriteLog to figure out what is going wrong. Either of these should work: RewriteCond %{Request_URI} !^/redirect\.html [NC] ... or RewriteRule ^/redirect\.html - [L] Joshua. - 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]
[EMAIL PROTECTED] mod rewrite redirect if NOT in URL
Hi, I usually have no problem redirecting based on what is in the URL, but now I'm trying to redirect all pages in a site to one page on the same site. I have to exclude that one page from the redirection process else I get an infinite loop. I've tried numerous combinations of the following, but I can't see to get it to work RewriteCond %{SCRIPT_FILENAME} !^redirect\.html [NC] RewriteRule ^/$ /redirect.html Basically, if the URL doesn't contain 'redirect.html', redirect to redirect.html TIA -- John C. Nichel IV Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] - 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]
Re: [EMAIL PROTECTED] How to avoid the duplication of file?
You dont have to create sumbolic links for each file, if you can identify the shared code, then just put all of it in a directory like "/htdocs/common/" , and then create symbolic links in each of the Sites/VH'S that need to access the common directory (since you can create sym links for directories). This approach might give the hint of exposing files that belong to one site to other sites, but since the code is common they would implicitly be exposed anyway, so I guess you can give it a shot. The site structure might look like this /htdocs/site1/common1 -> ../../common /htdocs/site2/common2 -> ../../common .. So essentially each site has its own Document root /htdocs/site1, /htdocs/site2, etc, which would contain a folders called common1, common2, etc, each of which are just Sym Links to the directory /htdocs/common/ ... Just my $0.02 ... Kishore Jalleda http://kjalleda.googlepages.com/ On 4/25/06, Arnau <[EMAIL PROTECTED]> wrote: Hi all, I have 10 different sites written in php running on linux, each ofthem is quite big (some of them with more than 1000 scripts). Theses sites share the most part of the scripts, I'd say that more of the 95%of the code is shared among all of them. The problem I have is when Iupload a new version of some file, I have to update all the 10 sites. I'd like to have the files in just one place and then create links, soit'd be necessary just to update the files in one place. I was thinkingin creating hard links but you can't create them on directories, and create a symbolic link for each file is a pain. What you'd recommend me?I think a lot of people already has had this problem.Cheers!--Arnau- 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]
[EMAIL PROTECTED] Re: png images are broken with reverse proxy
On Tue, 2006-04-25 at 16:40 +0200, Joost de Heer wrote: > Vects wrote: > > Hi there, > > I have a problem with mod_proxy, png images are broken. I found that > > apache removes '\n\r' (hex 0a0d) from png files. Is there anyway to > > prevent apache to do that or I need to fix png files? > > Do you use output filters? it's default configuration, there's only one output filter for shtml httpd.conf: AddOutputFilter INCLUDES .shtml Thanks, Alexc. > > Joost > - 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]
Re: [EMAIL PROTECTED] mod_access and Client IP's from Load Balancers
Jeff Nokes wrote: > Thanks for the reply! > > Yes, that is correct. > But since I cannot use arbitrary headers, these options aren't viable for > me. Load Balancers should be able to set the X-Forwarded-For header (I know F5 can do it, no idea about NetScaler, but I'm fairly sure it should be possible). Note that this only works for http requests, if you want to insert the header for https you need to do SSL offloading on the loadbalancer. Joost - 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]
[EMAIL PROTECTED] Re: png images are broken with reverse proxy
Vects wrote: > Hi there, > I have a problem with mod_proxy, png images are broken. I found that > apache removes '\n\r' (hex 0a0d) from png files. Is there anyway to > prevent apache to do that or I need to fix png files? Do you use output filters? Joost - 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]
Re: [EMAIL PROTECTED] png images are broken with reverse proxy
On Mon, 2006-04-24 at 17:25 -0400, Joshua Slive wrote: > On 4/24/06, Vects <[EMAIL PROTECTED]> wrote: > > Hi there, > > I have a problem with mod_proxy, png images are broken. I found that > > apache removes '\n\r' (hex 0a0d) from png files. Is there anyway to > > prevent apache to do that or I need to fix png files? > > Apache does not, by default, change any content on proxied requests. > Perhaps if you gave more details about apache version and any other > modules in use, someone might have ideas on what is going on. actually it's FC5, httpd-2.2.0-5.1.2. the config file is standard. ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/html/ ServerName mydomain ProxyRequests off Order deny,allow Deny from all Allow from 192.168.80.0/25 ProxyPass / http://192.168.3.1/ ProxyPassReverse / http://192.168.3.1/ Firefox gives me 'The image “http://192.168.80.82/clear.png” cannot be displayed, because it contains errors.' Thanks, Alexc > > Joshua. > > - > 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] > - 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]
Re: [EMAIL PROTECTED] Apache 2.2 and Active Directory
Hello *, I finally got a working configuration for Apache 2.2.0 the authenticate against an MS Active Directory Server via mod_authnz_ldap Important is the directive: AuthzLDAPAuthoritative off - snip - LDAPSharedCacheSize 102400 LDAPCacheEntries 1024 LDAPCacheTTL 600 LDAPOpCacheEntries 1024 LDAPOpCacheTTL 600 # LDAPTrustedGlobalCert CA_BASE64 # LDAPTrustedMode SSL # LDAPVerifyServerCert Off # mit On gehts bei mir nicht ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv AuthLDAPBindDN CN=LDAP,OU=Unix,OU=Admins,OU=Workers,DC=ads,DC=mydomain,DC=com AuthLDAPBindPassword viewonly AuthLDAPURL ldap://10.1.1.14/ OU=Workers,DC=ads,DC=mydomain,DC=com?sAMAccountName?sub? (objectClass=person) AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthType Basic AuthName "Please authenticate" # Require ldap-group OU=Admins,OU=Workers,DC=ads,DC=mydomain,DC=com # Require ldap-user Require valid-user -- snap -- kind regards Falko Am 24.04.2006 um 14:32 schrieb Falko Zurell: Hi *, here again my question: Has anyone successfully configured Apache 2.2 to authenticate against a MS Active Directory Server (via mod_authnz_ldap)? Please give a note to me. Thanks! --- F a l k o Z u r e l l - mail: mailto:[EMAIL PROTECTED] web: http://www.zurell.de gpg: http://www.zurell.de/falko.zurell-gpg-key.asc blog: http://www.explain-it.org/wordpress/ icq: 327004879 - 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] --- F a l k o Z u r e l l - mail: mailto:[EMAIL PROTECTED] web: http://www.zurell.de gpg: http://www.zurell.de/falko.zurell-gpg-key.asc blog: http://www.explain-it.org/wordpress/ icq: 327004879 - 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]
[EMAIL PROTECTED] How to avoid the duplication of file?
Hi all, I have 10 different sites written in php running on linux, each of them is quite big (some of them with more than 1000 scripts). Theses sites share the most part of the scripts, I'd say that more of the 95% of the code is shared among all of them. The problem I have is when I upload a new version of some file, I have to update all the 10 sites. I'd like to have the files in just one place and then create links, so it'd be necessary just to update the files in one place. I was thinking in creating hard links but you can't create them on directories, and create a symbolic link for each file is a pain. What you'd recommend me? I think a lot of people already has had this problem. Cheers! -- Arnau - 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]
Re: [EMAIL PROTECTED] mod_rewrite block self
On 4/25/06, switch grass <[EMAIL PROTECTED]> wrote: > how would i block my own site from its files? > i can use mod_rewrite to prevent hotlinking from other sites, but when i try > to block myself it doesn't work. > what i am trying to do is use my first site( site1.com) to host images that > only my second site can access(site2.com). > is this possible? Show the exact config you are using along with some lines from your access_log (in extended format). Joshua. - 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]
Re: [EMAIL PROTECTED] proxying on virtual host name
On 4/25/06, Sebastian Reitenbach <[EMAIL PROTECTED]> wrote: > Hi, > > i have one public IP address available, and I want two http hosts behind this > IP. With only one host, I would use virtual hosts, deciding on the used > hostname which site to show the user as the answer. > > So with the firewall i cannot distinguish for source or destination IP > address, as both can be for each host. So I have to redirect all incoming > traffic to just one apache server. Is there a module available that will > analyze the HOST information sent from the client to the server, and then > redirect it to one or the other host? > Or is there something built into apache that can handle this on its own or any > other way? You probably can do this with a rewrite: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.domain2\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://server2:/$1 [P] This will proxy every request for www.domain2.com to the server named server2. The other way is to have two virtual hosts on your first server, just as if both your websites ran on the same machine, and have one of the virtual servers proxy everything to the second server. Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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]
Re: [EMAIL PROTECTED] French characters display as Chinese
Mark Van Crombrugge writes: > I am hosting a few websites on my server for people learning to develop > websites: the ones in English are fine but the ones in French display the > French accentuated characters as Chinese... > The HTTP document contains content="text/html; charset=iso-8859-1"> in the header. > When I select "View - Encoding - Western European" instead of the default > "UTF-8" in Internet Explorer the characters are correct. > > Someone has mentioned that I need to adapt the configuration of Apache: does > anyone have an idea what I need to add/change? All characters above the first 127 should be encoded as HTML entities if you want to be absolutely sure that they always display correctly. -- Anthony - 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]
Re: [EMAIL PROTECTED] French characters display as Chinese
On 4/25/06, Mark Van Crombrugge <[EMAIL PROTECTED]> wrote: > > I am hosting a few websites on my server for people learning to develop > websites: the ones in English are fine but the ones in French display the > French accentuated characters as Chinese... > The HTTP document contains content="text/html; charset=iso-8859-1"> in the header. > When I select "View - Encoding - Western European" instead of the default > "UTF-8" in Internet Explorer the characters are correct. > > Someone has mentioned that I need to adapt the configuration of Apache: does > anyone have an idea what I need to add/change? You probably need to add AddDefaultCharSet off to your config. See: http://httpd.apache.org/docs/2.0/mod/core.html#adddefaultcharset Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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]
[EMAIL PROTECTED] French characters display as Chinese
I am hosting a few websites on my server for people learning to develop websites: the ones in English are fine but the ones in French display the French accentuated characters as Chinese... The HTTP document contains in the header. When I select "View - Encoding - Western European" instead of the default "UTF-8" in Internet Explorer the characters are correct. Someone has mentioned that I need to adapt the configuration of Apache: does anyone have an idea what I need to add/change? Thanks! Mark
[EMAIL PROTECTED] proxying on virtual host name
Hi, i have one public IP address available, and I want two http hosts behind this IP. With only one host, I would use virtual hosts, deciding on the used hostname which site to show the user as the answer. So with the firewall i cannot distinguish for source or destination IP address, as both can be for each host. So I have to redirect all incoming traffic to just one apache server. Is there a module available that will analyze the HOST information sent from the client to the server, and then redirect it to one or the other host? Or is there something built into apache that can handle this on its own or any other way? any suggestions are welcome. kind regards Sebastian - 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]
RE: [EMAIL PROTECTED] Making Apache 2.2 work with Weblogic 8.1 (both on Solaris 9)
Like the last what i knew from the BEA-Support [a couple of minutes ago is that there doesn't exist a plugin for Apache 2.2 at the moment. For me there are only 2 possibilities: 1. Use 2.0.55 and mod_wl_20.so 2. Use 2.2.0 and mod_proxy_balancer to Weblogic and you can fire a feature request to the BEA Support that they compile mod_weblogic.c under Apache 2.2 Greetings Oliver -Ursprüngliche Nachricht- Von: Richard de Vries [mailto:[EMAIL PROTECTED] Gesendet: Di 25.04.2006 05:21 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] Making Apache 2.2 work with Weblogic 8.1 (both on Solaris 9) I had a similar situation with WebSphere. It's just not compatible. I would definately recommend asking for a Apache 2.2 WebLogic plugin, but there is a good chance they won't have one for you. So, in the end you may have to back down to Apache 2.0.55. R --- Joshua Slive <[EMAIL PROTECTED]> wrote: > On 4/24/06, D J Patel <[EMAIL PROTECTED]> wrote: > > > > I installed Apache 2.2 (using GNU gcc) on Solaris > 9, Bea Weblogic8.1 on > > Solaris on two different servers. Both products > works fine independently. > > > > Now I followed directions to configure the the > Apache HTTP Server plug-in I > > did the following > > > > 1) Copied > > > /opt/bea/weblogic81/server/lib/solaris/mod_wl_20.so > from > > Weblogic server to /usr/local/apache2/modules > directory in the Apache Server > > Apache 2.2 is not binary compatible with modules > designed for Apache > 2.0 (although it is largely source-compatible). So > you'll need to ask > Bea for a version compiled for 2.2. > > Joshua. > > - > 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] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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] <>- 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]