Hello World,
Is it possible to environment variables such as the domain name being
access to adaptable Apache configuration.
Such as
Alias /documents /home/www/domain.com.au/documents
Where domain.com.au could be replaced depending on what domain name
was accessed.
Any help is appreciated.
If we monitor the /server-status page of our apache 2.0.57 running under linux we notice a build up of processes that are hung in state W, which is Sending Reply:6-1 13451 1/3/3 W
0.83 1141 0 0.0 0.01 0.01 9.135.165.197 climate.uk.ibm.com POST /sat/satindex.cmd HTTP/1.1They are *always* CGI
On Unix systems most daemon processes are written to trap a
SIGHUP sent to their proccess ID (PID)
and reinitialize.
This is common behaviour and handy if you either need to
propagate a change in the daemon's configuration,
or want it to release locks or file handles.
The latter is mostly required
On 8/25/06, Devraj Mukherjee [EMAIL PROTECTED] wrote:
Hello World,
Is it possible to environment variables such as the domain name being
access to adaptable Apache configuration.
Such as
Alias /documents /home/www/domain.com.au/documents
Where domain.com.au could be replaced depending on
We have two apache webservers running release 2.0.57On one of them, if we ask for a non-existent script from a protected directory we get the 404 Not Found response without a prompt for username and password.On the other one, we get prompted for username and password and when we get those right we
On 8/25/06, Steve Swift [EMAIL PROTECTED] wrote:
We have two apache webservers running release 2.0.57
On one of them, if we ask for a non-existent script from a protected
directory we get the 404 Not Found response without a prompt for username
and password.
On the other one, we get prompted for
Hello,
We're running Apache 2.0.52 on RHEL 4.
After moving a site to a new Apache server that has a new file structure,
we did redirect for a customer to keep their old URL working. The
redirection
http://www.dept.some.edu/somegroup =
http://www.dept.some.edu/long/path/to/somegroup
works
On 8/25/06, Bing Du [EMAIL PROTECTED] wrote:
Hello,
We're running Apache 2.0.52 on RHEL 4.
After moving a site to a new Apache server that has a new file structure,
we did redirect for a customer to keep their old URL working. The
redirection
http://www.dept.some.edu/somegroup =
Yes this is possible. You can use alias directive and or a rewrite
directive. I would recommend a rewrite instead of a redirect as often
Apache doesnt like to be redirected to itself. Here is some good
documentation on how to use it:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Thanks for that hint - I didn't think to check log files since it didn't
start. error.log said the app's log file couldn't be created so I updated
that location to match my previous values. Victim of cut-and-paste-itis.
But I'm back to 'can't establish a connection to the server at...' when
Start here:
http://httpd.apache.org/docs/2.2/urlmapping.html
What you want is probably a simple Alias.
But note that it is best not to have two permanent URLs mapping to the
same place. So you should make one URL or the other be a Redirect.
Thanks for the quick response. What if I need
On 8/25/06, Bing Du [EMAIL PROTECTED] wrote:
Start here:
http://httpd.apache.org/docs/2.2/urlmapping.html
What you want is probably a simple Alias.
But note that it is best not to have two permanent URLs mapping to the
same place. So you should make one URL or the other be a Redirect.
You could use
AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html
Alias /group/ /var/www/html/log/path/to/group/
The above config triggers the following warning:
[warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19 will
probably never match because it overlaps
Is there a way to do this redirect on a conditional as a rewrite rule
allows, though? I.e., return a 503 if a certain file exists?
Is there a way to return a custom document along with a 503 Network
Unavailable response code using mod_rewrite rules? The documentation
mentions the ability to
On 8/25/06, Bing Du [EMAIL PROTECTED] wrote:
You could use
AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html
Alias /group/ /var/www/html/log/path/to/group/
The above config triggers the following warning:
[warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19
You could use
AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html
Alias /group/ /var/www/html/log/path/to/group/
The above config triggers the following warning:
[warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19 will
probably never match because it
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
Is there a way to do this redirect on a conditional as a rewrite rule
allows, though? I.e., return a 503 if a certain file exists?
Is there a way to return a custom document along with a 503 Network
Unavailable response code using
On 8/25/06, Joshua Slive [EMAIL PROTECTED] wrote:
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
Is there a way to do this redirect on a conditional as a rewrite rule
allows, though? I.e., return a 503 if a certain file exists?
Sure, just make a certain file an .htaccess file in the
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
On 8/25/06, Joshua Slive [EMAIL PROTECTED] wrote:
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
Is there a way to do this redirect on a conditional as a rewrite rule
allows, though? I.e., return a 503 if a certain file exists?
It would be no more performance-draining to check for an .htaccess
file than it would be to check for any other file as a condition for
issuing a 503.
If .htaccess files are enabled, Apache would check for their existance
recursively, wouldn't it? Meaning, for a requested file that is 4
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
It would be no more performance-draining to check for an .htaccess
file than it would be to check for any other file as a condition for
issuing a 503.
If .htaccess files are enabled, Apache would check for their existance
recursively,
1. Sorry about cc'ing to you personally - I did a Reply All to keep the
message and forgot to amend the headers.
2. Reproducible fix:
Finally got the secured site to server by adding to
/etc/apache2/mods-available/ssl.conf one line:
Listen 443
3. Reproducible fix:
I eliminated the
Using Apache/1.3.34 (Unix) PHP/4.4.2 configured
with 4.11-STABLE FreeBSD
I am having trouble creating a subdomain the rest
of my virtual sites seem to work.
THE problem is that everytime i try to view
thecontentforsite1.computerking.ca i get the content
fromwww.computerking.cawhich is
Hi
I have installed Apache 2.2.3 on a RedHat Linux Enterprise 4ES system and am
trying to install mod_perl 2. The installation of mod_perl insists on
apr-config being somewhere on the system but the install of Apache 2.2.3
does not seem to have installed a new apr-config (I cannot find it in
On 8/25/06, RYAN vAN GINNEKEN [EMAIL PROTECTED] wrote:
Using Apache/1.3.34 (Unix) PHP/4.4.2 configured with 4.11-STABLE FreeBSD
I am having trouble creating a subdomain the rest of my virtual sites seem
to work.
THE problem is that everytime i try to view the content for
Here is hopefully a succinct re-statement of my current problem:
I had a website setup and it was working fine using VirtualHost ProxyPass
to forward to another port and a server-level Alias+Directory pair to
forward all image requests to a concrete, common directory.
Now that I've added SSL
Evaldas Imbrasas wrote:
On 8/25/06, Joshua Slive [EMAIL PROTECTED] wrote:
On 8/25/06, Evaldas Imbrasas [EMAIL PROTECTED] wrote:
Is there a way to do this redirect on a conditional as a rewrite rule
allows, though? I.e., return a 503 if a certain file exists?
Sure, just make a certain file an
I was wondering if anyone has given thought to allowing the use of
relative paths with the mod_rewrite package rather then requiring full
paths. i.e., in the .htaccess file:
Redirect 301 ./neuro.asp ../neurology.php (does not work)
instead of:
Redirect 301
On 8/25/06, John H. Nyhuis [EMAIL PROTECTED] wrote:
I was wondering if anyone has given thought to allowing the use of
relative paths with the mod_rewrite package rather then requiring full
paths. i.e., in the .htaccess file:
Redirect 301 ./neuro.asp ../neurology.php (does not work)
I have commented out the default host and have this setting in my config
file if i set it * i get a bunch of overlap warnings as my vhosts.conf file
uses the ipaddress not the star i think?
But still get the default site when i try to load site1.computerking.ca
#
# Use name-based virtual
On 8/25/06, RYAN vAN GINNEKEN [EMAIL PROTECTED] wrote:
I have commented out the default host and have this setting in my config
file if i set it * i get a bunch of overlap warnings as my vhosts.conf file
uses the ipaddress not the star i think?
But still get the default site when i try to load
31 matches
Mail list logo