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:
>
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
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
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
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
---
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
---
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
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
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
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
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
---
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
---
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
---
. 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
-
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
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
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
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
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
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
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
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
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
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
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
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."
>
>
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
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
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
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
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
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
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
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
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
--
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)
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
* 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
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
?) 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
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
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
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
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
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
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
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
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 -
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
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
>
.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
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.
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
==
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
67 matches
Mail list logo