Re: [us...@httpd] How can I stick with www only ?

2009-01-22 Thread solprovider
implement name-based virtual hosts. httpd must either use one configuration for all requests or use name-based virtual hosts. Any commands specifying different configurations for specific server names must be in the main configuration. Did I miss anything? solprovider On 1/22/09, J. Bakshi wrote: >

Re: [EMAIL PROTECTED] a rather tricky mod_rewrite problem?

2008-11-15 Thread solprovider
ion so "/mysvn" should display an error or login page when the Rewrite is bypassed. solprovider On 11/14/08, morgan gangwere <[EMAIL PROTECTED]> wrote: > I've got a tricky question... How would one go about having it so that > mod_auth and mod_rewrite talk to one anthe

Re: [EMAIL PROTECTED] HTTPS connexion on the port 80

2008-11-10 Thread solprovider
only solution is to use a distinct port or IP Address for each SSL certificate/HTTPS server. I recommend using separate IP Addresses to avoid port numbers in URLs. Sorry, solprovider On 11/9/08, David BERCOT <[EMAIL PROTECTED]> wrote: > I'm new on this list and this is my first

Re: [EMAIL PROTECTED] rewrite help

2008-11-03 Thread solprovider
processing RewriteRules. You may want another RewriteRule for /, HTH, solprovider On 11/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am trying to get a redirect to work so that I can get friendl URLs for > my website. I am using mod_perl and have written a little handler as a

Re: [EMAIL PROTECTED] Apache server - Output to the same page whatever request

2008-10-15 Thread solprovider
quot;ErrorDocument" is a core command. Try: ErrorDocument 404 /a.php The documentation does not mention how ErrorDocument handles the original querystring. See: http://httpd.apache.org/docs/2.2/mod/core.html#errordocument HTH, solprovider ---

Re: [EMAIL PROTECTED] redirect issue

2008-10-12 Thread solprovider
ermanent /a.pdf http://example.com/a.pdf OR RedirectPermanent /a.pdf http://example.com/a.pdf You can try the latter as an alternative. Finally, delete the lines and manually type them (no pasting). This seems more an issue with the file than httpd. HTH, solprovider ---

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-07 Thread solprovider
nks for the homepage to the now-working URL: Home Becomes: Home The new links will only work through Apache httpd. Directly accessing the application server will error for these links. solprovider

Re: [EMAIL PROTECTED] http-equiv="refresh" ignored?

2008-10-07 Thread solprovider
s the GET or POST, headers, and content (for POST). Changing the User-Agent header will show responses for different browsers. You should probably use both. Use WireShark to learn everything the browsers are sending, then use a easier-to-control less-de

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread solprovider
age in your application to use href="/" rather than href="/index.php?pagina=home". The application creates those links. The code generating the menus includes the link to: http://www.example.net/index.php?pagina=home This cannot be fixed with basic Apache httpd; you should correct your menus in the application. (mod_proxy_html might help if you get it to work.) HTH, solprovider

Re: [EMAIL PROTECTED] http-equiv="refresh" ignored?

2008-10-06 Thread solprovider
ss the purpose from reading non-working code. HTH, solprovider On 10/1/08, Kynn Jones <[EMAIL PROTECTED]> wrote: > I am trying to debug a large Perl/CGI-based legacy system that is not > working right on some browsers, like Firefox 3. It runs on an Ubuntu host > with Apache 2.2

Re: [EMAIL PROTECTED] How can I uninstall Apache2 from Windows98?

2008-10-01 Thread solprovider
isk write buffer. Apache httpd should close without corrupting anything. Using ALT_F4, CTRL_C, or the X window button may not close all processes -- a performance issue if the computer were to remain running, but shutdown should kill those processes. solprovider ---

Re: [EMAIL PROTECTED] How can I uninstall Apache2 from Windows98?

2008-09-27 Thread solprovider
Proprietary software companies often teach installers not to install to Windows98SE to reduce support calls. Most OSS only stops working because no tester reports problems; complain and the problems disappear (as with Eclipse.) HTH, solprovider ---

Re: [EMAIL PROTECTED] Trailing slash problem, not the typical one

2008-09-27 Thread solprovider
files in the problem directory and all parent directories of the problem directory. Compare these files with the files from a server that works as you desire. Post any portions that seem relevant if you need more assistance. HTH, solprovider ---

Re: [EMAIL PROTECTED] What is the Difference between A webserver(apache) and an application server?

2008-09-20 Thread solprovider
. Tomcat, Geronimo, Cocoon, and non-Apache Web application servers). For more details, search Wikipedia for "Application server", "Web server", "Web application server", and even "Apache HTTP Server". solprovider -

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread solprovider
not included in Apache httpd. (My first Web application included this functionality.) Rewrite_Rules do not change browsers' URLs. You need to use the correct technology to create your solution. solprovider - The official

Re: [EMAIL PROTECTED] How to Find Online Users?

2008-09-17 Thread solprovider
e discussion page refreshed every minute -- updating the conversation and informing the application that the visitor was still active. This was 1996 -- frames separated the discussion page and the input page. Other pages on the website had an alert symbol when a message was sent to that person. The alert graphic was refreshed every minute (using JavaScript) -- telling the visitor when a message was received, but also informing the application that the visitor was still online. Today, the application could use AJAX to update the discussion area and track online visitors without refreshing the page. solprovider

Re: [EMAIL PROTECTED] hardware for proxy

2008-09-11 Thread solprovider
once read that encryption added 20-30%. Modern streaming encryption seems more efficient, but adds handshake overhead per transmission. Again, my 30% overhead has produced reasonable working estimates. > Does somebody have the data? > Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://w

Re: [EMAIL PROTECTED] hardware for proxy

2008-09-10 Thread solprovider
uld want a second network connection to avoid running at full capacity and handle spikes. solprovider - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for mor

Re: [EMAIL PROTECTED] hardware for proxy

2008-09-09 Thread solprovider
s, adjust the specs for the new server. Start inexpensive. You do not need the first server to handle future capacity. When the first server slows even a little, you can move half the websites to another server before deciding how to build the ultimate system. Then you will have real performance nu

Re: [EMAIL PROTECTED] Setting up a subdomain?

2008-08-29 Thread solprovider
al server in httpd.conf setting the DocumentRoot to the correct subdirectory. ServerName foo.example.org DocumentRoot /var/www/html/foo HTH, solprovider - The official User-To-User support forum of the A

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread solprovider
erver sees only requests for files (page, images, etc.) on that server. The referer is an indicator of why the file was requested. The logs do not differentiate between embedded elements and anchor links -- opening the referer page is the only method to discover why the file was accessed (if t

Re: [EMAIL PROTECTED] A question about the request line and the referer

2008-08-02 Thread solprovider
downloaded file. The referer comes from the HTTP Headers of the request. Anybody using a tool allowing control of the headers (e.g. telnet, putty, HyperTerminal) can set the referer. solprovider - The official User-To-User suppor

Re: [EMAIL PROTECTED] Using RewriteRule for secure requests

2008-08-01 Thread solprovider
On 7/31/08, Bobby Jack <[EMAIL PROTECTED]> wrote: > Thanks, solprovider. I had to look up your TLAs, but I am familiar with most > of the points you make in your post, and tend to agree :) I assume you know URL, CMS, and SSL. TMI = Too Much Information - I was halfway into a rant

Re: [EMAIL PROTECTED] Using RewriteRule for secure requests

2008-07-29 Thread solprovider
ress making SSL almost useless for virtual servers. OTOH, the additional bandwidth needed to encrypt everything might overload the Internet (and would have been unacceptable when most people used dial-up.) TMI? HTH, solprovider

Re: [EMAIL PROTECTED] different kinds of proxies

2008-07-24 Thread solprovider
out a "web proxy". This HTTP proxy may also do NAT > of course, but its main function I believe is to cache pages from external > servers for the benefit of internal workstations, no ? > > If this is a forward proxy, then I do not understand the comment of > Solprovider tha

Re: [EMAIL PROTECTED] different kinds of proxies

2008-07-22 Thread solprovider
On 7/22/08, Rich Schumacher <[EMAIL PROTECTED]> wrote: > Solprovider, > > While I agree with your sentiment that forward proxies can be very > dangerous, I think you are jumping the gun with your statement doubting they > have "any legitimate use today." > >

Re: [EMAIL PROTECTED] Redirection

2008-07-19 Thread solprovider
e1.html -> /article1.html RewriteCond %{QUERY_STRING} ^article1.html$ RewriteRule ^*$ /article1.html [P] You could use [L] instead of [P] if you are certian that no proxy is needed to find the file. HTH, solprovider

Re: [EMAIL PROTECTED] different kinds of proxies

2008-07-19 Thread solprovider
On 7/19/08, André Warnier <[EMAIL PROTECTED]> wrote: > From a recent thread originally dedicated to find out if a proxy server can > be really "transparent", I'll first quote a summary from "solprovider". > > quote > > I think the confu

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-19 Thread solprovider
ma" and "__utmz" for many websites.) With proper care, this is not a problem. Cookies include a path parameter. The cookie for http://www.example.com/google/... should have the path "/google". The cookie for http://www.example.com/amazon/...should have the path "/amazon". A Web reverse proxy using paths to specify which application handles the request should use the ProxyPassReverseCookiePath directive to translate the outbound Cookies. Inbound translation should not be needed as browsers will only send Cookies for the current path i.e. http://www.example.com/amazon/... will not include Cookies for path "/google". solprovider

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-19 Thread solprovider
tly. No client configuration is necessary; just configure routing between networks to use the NAT firewall as the gateway.. Apache httpd can handle both forward and reverse proxying, but is not a NAT firewall. Standard *nix software (e.g. iptables and PF) can be NAT firewalls. (Using Microsoft softw

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-19 Thread solprovider
ing/adding "/amazon" in the path. We have not discussed changing links in pages from amazon.com to use example.com. This simple often-needed functionality has been ignored by the Apache httpd project. (This functionality was included in a servlet I wrote in 1999.) Research "mod_proxy_html". Does this answer your question? solprovider

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread solprovider
writeRule would need adjustment: RewriteRule ^/webmail/(.*)$ http://webmail.example.com:8080//$1 [P] HTH, solprovider P.S. "example.com", "example.net", and "example.org" were reserved for examples so people do not create URLs t

Re: [EMAIL PROTECTED] 403 Errors and Virtual Hosts

2008-07-18 Thread solprovider
e a webpage at this location? http://mysite.co.nz/var/www/html/mysite403/index.html My guess is you configured an absolute filepath and Apache httpd is handling the value as a relative URL. solprovider - The official User-To-Us

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-18 Thread solprovider
e: "Domain Defaults to the request-host. (Note that there is no dot at the beginning of request-host.)" The two-dots rule only applies to Domain parameters. I have not tested. solprovider On 7/18/08, André Warnier <[EMAIL PROTECTED]> wrote: > First, I found a thread

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-17 Thread solprovider
e at the next level (".example.com") and send the Cookie with every request to *.example.com. A server name at the same level must be specified. Requests to "example.com" and "server.subdomain.example.com" will not include the Cookie. HTH, solprovider --

Re: [EMAIL PROTECTED] Removing a permanent redirect from httpd.conf

2008-07-13 Thread solprovider
r's cache, and restart your browser.. 2. Test using a browser on the server (or at least use wget) to verify the change. 3. You may need to wait up to a full week for most Web caches to expire. Some (e.g. Google and other search engines)

Re: [EMAIL PROTECTED] Hosting Scenario

2008-07-10 Thread solprovider
ering the score for all the domains. Better choose a primary domain and use the extra domains as shortcuts to specific information. Example: http://fgulen.com can permanently redirect to: http://example.com/companies/fgulen/pro

Re: [EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-17 Thread solprovider
* Internet Explorer 7.0.5730.11 solprovider On 2/17/08, Norman Khine <[EMAIL PROTECTED]> wrote: > Hello, > I have some virtual hosts and would like to run SSL with different > certificates on each. Having followed the following how-to, > http

Re: [EMAIL PROTECTED] Do NOT add a slash at the end of the directory path.

2008-02-07 Thread solprovider
own functions under the assumption that I or someone else may break things someday. My research on how httpd handles this will be delayed until next week. I am still hoping an httpd dev will comment. solprovider - The official

Re: [EMAIL PROTECTED] Do NOT add a slash at the end of the directory path.

2008-02-07 Thread solprovider
?) I need the code local to read it properly so I am adding CDT to Eclipse. I'll post again if someone more familiar with the code does not. solprovider - The official User-To-User support forum of the Apache HTTP Server P

Re: [EMAIL PROTECTED] Apache Restart

2008-01-26 Thread solprovider
SL without command line parameters. solprovider On 1/26/08, Ashwin Basagouda Patil <[EMAIL PROTECTED]> wrote: > How I can restart the Apache in one line command ? > I am using this command to start with SSL connections: > /usr/local/apache/bin/apachectl startssl > > Th

Re: [EMAIL PROTECTED] Where to download the Apache developer versions?

2008-01-22 Thread solprovider
The latest code is in Subversion. See: http://httpd.apache.org/dev/devnotes.html solprovider On 1/22/08, Sonixxfx <[EMAIL PROTECTED]> wrote: > I am sorry, I should have been more specific. Sometimes when a > vulnerabilty is found in Apache, the vulnerability is fixed in a > de

Re: [EMAIL PROTECTED] Looking for suggestions for URL redirection

2008-01-19 Thread solprovider
work with your authorization system. By your specification, this is a PHP issue and does not belong on the httpd ML as you prohibited non-PHP solutions. This code should send the file as the response to the current request: HttpResponse::setFile("http://media.example.com/file.mpg";); solprovid

Re: [EMAIL PROTECTED] mod_rewrite exception

2007-12-25 Thread solprovider
Hart Add conditions to test the protocol and bypass the specific URL. RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{SERVER_PROTOCOL} !^https$ [NC] RewriteCond %{REQUEST_URI} !^/testing/test\.php$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] For your example, the spe

Re: [EMAIL PROTECTED] Frustrated with rewrite rule, please help...

2007-12-25 Thread solprovider
been processed. RewriteEngine On RewriteLogLevel 9 RewriteRule ^/doc/([A-Z].*)$ /tdocs/bin/view/$1 [PT] RewriteRule ^/doc/(.*)$ /tdocs/$1 [PT] ScriptAlias /tdocs/bin /opt/twiki/bin Alias /tdocs /opt/twiki HTH, solprovider - The offic

Re: [EMAIL PROTECTED] How to make a website like ftpsite?

2007-12-10 Thread solprovider
ed many extra lines of configuration and managed to break it. From: http://httpd.apache.org/docs/2.2/mod/core.html#options Options Indexes FollowSymLinks The name of the directory should not be in quotes. Requires mod_autoindex. Delete the extra configuration. I have not tried Directory element

Re: [EMAIL PROTECTED] Geting rid of the ? in the URL

2007-12-05 Thread solprovider
Read the Drupal documentation for how to fix the configuration of Drupal: http://drupal.org/node/15365 solprovider On 12/5/07, Rashmi Amlani <[EMAIL PROTECTED]> wrote: > I am a total newbie to apache. Have recently installed Apache 2.2, mySql and > Drupal on winxp and everything

Re: [EMAIL PROTECTED] Weird NameVirtualHost problem

2007-11-02 Thread solprovider
rch for the configuration file being used. solprovider On 11/2/07, tech1 <[EMAIL PROTECTED]> wrote: > Thanks. > > 1) I'm sure it's the correct conf file, I removed the entire > NameVirtualHost section and checked with httpd -S to see that they were > gone after a -

Re: [EMAIL PROTECTED] Very Puzzling Question About mod_rewrite

2007-11-02 Thread solprovider
is the name of the directory appended onto a user's home directory if a ~user request is received. UserDir public_html DirectoryIndex index.html http://www-demo.cchem.berkeley.edu/~username will serve: /home/username/public_html/index.html

Re: [EMAIL PROTECTED] Weird NameVirtualHost problem

2007-11-02 Thread solprovider
Include conf/virtualhosts.conf and put all the entries in the new file. solprovider On 11/2/07, tech1 <[EMAIL PROTECTED]> wrote: > I'm running apache 1.3 on a FreeBSD box. I've just started using > NameVirtualHosts for about 100 web sites. There are other web sites on the >

Re: [EMAIL PROTECTED] routing requests to two different servers

2007-10-31 Thread solprovider
.com/ Duplicate mytestserver.example.com Would this module record every response from additional servers? Would this module allow recording of responses from the primary stream? Would the module handle comparison? What are the security implications? solprovider (Any poor ideas are due to having ju

Re: [EMAIL PROTECTED] routing requests to two different servers

2007-10-30 Thread solprovider
tee" command. Apache Cocoon has the TeeTransformer. Apache httpd copies part of each request into the log before fulfilling the request. Splitting a stream is easy: while(b = in.read()){ out1.write(b); out2.write(b); } Discarding the output from the test server is difficult, but not impossible.

Re: [EMAIL PROTECTED] unexpected EOF on client side when Apache sends applet class

2007-10-26 Thread solprovider
t or Jetty. I recommend jetty-6.1.5 because jetty-6.1.6rc0 is broken and Tomcat is larger. Just download from: http://dist.codehaus.org/jetty/ Unzip the download, copy your class file to the test directory, and: wget http://localhost:8080/test/helloapp.class solprovider On 10/25/07, stev

Re: [EMAIL PROTECTED] unexpected EOF on client side when Apache sends applet class

2007-10-25 Thread solprovider
the source and compile on the server. Check out PSCP from the putty suite of network tools for transferring files from Windows to Linux (openssh). I have a batch file in the SendTo directory so I can right-click/send any file to my Linux home directory. solprovider On 10/25/07, steve sawtelle

Re: [EMAIL PROTECTED] Avoiding conditional requests

2007-10-25 Thread solprovider
On 10/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Solprovider, > Thanx for your persistence :) > > i created the test.html page and ran it only to get the same results: > first request: > GET /testpage.html HTTP/1.1 > GET /Eip/Static/Images/Logos/siteLogo.gi

Re: [EMAIL PROTECTED] Avoiding conditional requests

2007-10-24 Thread solprovider
hing when a querystring exists because a querystring may completely change the response: /homepage /homepage?ShowTheLoginScreen Some software noticing the presence of the querystring may set "no-cache". solprovider On 10/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] Avoiding conditional requests

2007-10-24 Thread solprovider
gs will send the conditional request for every request while ignoring expiration datetimes. You can see the Expires header so you know the server is configured as you desire. Your browser must be configured to use the setting to prove your browser works as desired. solprovider On 10/24/07, [EM

Re: [EMAIL PROTECTED] SetEnvIf & SESSION_USE_TRANS_SID=0

2007-10-23 Thread solprovider
Check the User-Agent appearing in your logs. The regexp would not match Googlebot's User-Agent from the logs on my server: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) Try: SetEnvIf User-Agent "(.*)Googlebot(.*)" SESSION_USE_TRANS_SID=0 solprovider WA

Re: [EMAIL PROTECTED] rewrite or proxypass?

2007-10-18 Thread solprovider
uot;http://www.example.com/app/"; The syntax will depend on the application and the abilities of the developers. 2. Use mod_proxy_html to rewrite the HTML sent by the application to change every "http://www.example.com:8080/"; to "http"//www.example.com/app/". solprovider

Re: [EMAIL PROTECTED] Apache 2.2.0 binary download

2007-10-17 Thread solprovider
There were discussions on the Dev ML about building 2.2.0 using VC6, VS2003, and VS2005 around December 2005. Read those threads for ideas if you insist on compiling. For the recommended stable version, use Alexander's link for the Windows binaries of 2.2.6. solprovider On 10/18/07, As

Re: [EMAIL PROTECTED] rewrite or proxypass?

2007-10-17 Thread solprovider
Why not put the homepage/login page on port 80 and proxy the POST to Tomcat? Or are dynamic elements on the login page? If everything will be served by Tomcat, why not run tomcat on port 80? If you are using virtual servers, you should already have configured the proxy. solprovider On 10/17

Re: [EMAIL PROTECTED] Apache 2.2.0 binary download

2007-10-17 Thread solprovider
The security page lists seven holes affecting 2.2.0. http://httpd.apache.org/security/vulnerabilities_22.html Sorry, solprovider On 10/18/07, Alexander Fortin <[EMAIL PROTECTED]> wrote: > Ashwani Kumar Sharma wrote: > > I want to download binary for apache 2.2.0 for windows urge

Re: [EMAIL PROTECTED] Problems with ProxyPassReverseCookieDomain

2007-10-15 Thread solprovider
I apologize for implying anything about your emotions. Maybe I am the only one weeping over RFCs . Bad specifications cause physical pain to me. - solprovider On 10/15/07, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Obviously the original poster has an application that only re

Re: [EMAIL PROTECTED] Problems with ProxyPassReverseCookieDomain

2007-10-15 Thread solprovider
ample.com and www1.example.com. "example.com" (no leading period) would only be sent to example.com. Browsers should add the leading period if domain is specified. solprovider On 10/15/07, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > The behaviour observed by the orig

[EMAIL PROTECTED] Improve ProxyPassReverseDomain

2007-10-15 Thread solprovider
If path was not found, set to path of current document. Compare ProxyPassReverseCookiePath strings with beginnning of path. Replace matched portion if found. newHeaderValue += newPath; //Watch semicolons } if(conf->domain) newHeaderValue += conf->domain; retur

[EMAIL PROTECTED] RE: Problems with ProxyPassReverseCookieDomain

2007-10-15 Thread solprovider
it.) When you write "parameters", do you mean HTTP Headers, QueryString parameters, POST parameters, part of the URL, or something else? The parameters issue may require mod_rewrite. Ttry this: RewriteEngine On RewriteRule ^/site/(.*)$ http://www1.example.com/$1 [P] solprovider ==

Re: [EMAIL PROTECTED] Logging Options - Extended W3C Log Format?

2007-10-14 Thread solprovider
2) Paste standard text. 3) Fix datetimes. 4) Save file. 5) Send. Ask whoever automated Step 5 to add this function to that process. solprovider On 10/14/07, J R M <[EMAIL PROTECTED]> wrote: > I've recently had a request from one of our clients to provide their logs > in the