Dude, you really want everything serve on a plate :)
RewriteRule (.*)/(.*)/$ $1/$2 [R=301,L]
or even better
RewriteRule (.*)/$ $1 [R=301,L]
On Tue, May 18, 2010 at 4:37 PM, Nilesh Govindarajan wrote:
> On 05/18/2010 11:17 AM, Igor Cicimov wrote:
>
>> Don't forget to switch the rewrite engine
On 05/18/2010 11:17 AM, Igor Cicimov wrote:
Don't forget to switch the rewrite engine on first though:
RewriteEngine On
RewriteRule (.*)/foo/$ $1/foo [R=301,L]
On Tue, May 18, 2010 at 3:45 PM, Igor Cicimov mailto:icici...@gmail.com>> wrote:
Anything wrong with just simple redirect like thi
Don't forget to switch the rewrite engine on first though:
RewriteEngine On
RewriteRule (.*)/foo/$ $1/foo [R=301,L]
On Tue, May 18, 2010 at 3:45 PM, Igor Cicimov wrote:
> Anything wrong with just simple redirect like this?
>
> RewriteRule (.*)/foo/$ $1/foo [R=301,L]
>
> Igor
>
>
> On Tue, May 1
Anything wrong with just simple redirect like this?
RewriteRule (.*)/foo/$ $1/foo [R=301,L]
Igor
On Tue, May 18, 2010 at 11:25 AM, Nilesh Govindarajan wrote:
> I am using Zend PHP Framework for my application, so all requests to
> non-existent files, directories (or links) are sent to
> /index.
Ah yes first revert to the initial VHost order...
On Tue, May 18, 2010 at 3:15 PM, Igor Cicimov wrote:
> First, any .htaccess file by some chance that is messing up your config?
> Second, It looks like the requests for download sub domain are heating the
> main domain server ... can you confirm
First, any .htaccess file by some chance that is messing up your config?
Second, It looks like the requests for download sub domain are heating the
main domain server ... can you confirm that in the access log for
debrass2.ana.bna.boeing.com (go to download-devbrass2.ana.bna.boeing.com and
tail -f
Hmm.. It's getting interesting.. I reversed the order of the virtual host
containers, and so now download-devbrass2 is the first virtual host and
devbrass2 is the second virtual host. To my surprise, download-devbrass is
still not working but devbrass2 is still working. I'm not sure if you saw
Silly question, did you try reversing the order of the virt containers?
- Original Message -
From: "Smith, Cathy" [cathy.sm...@pnl.gov]
Sent: 05/17/2010 09:06 PM MST
To: "Wang, Mary Y" ; "users@httpd.apache.org"
Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The
Could any kind of Directory directive would cause this kind of behavior?
Mary
From: Wang, Mary Y
Sent: Monday, May 17, 2010 9:09 PM
To: Smith, Cathy; users@httpd.apache.org
Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed
Virtual Host
Cathy.
I'm running httpd-2.0.46
Mary
From: Smith, Cathy [mailto:cathy.sm...@pnl.gov]
Sent: Monday, May 17, 2010 9:07 PM
To: Wang, Mary Y; users@httpd.apache.org
Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed
Virtual HostAlways Retu
Mary
I just re-read the first posting, and should have asked if you are running
Apache 2.0 or Apache 2.2.
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
Phone: 509.375.2687
Fax:509.375.2330
Email: cathy.sm...@pnl.gov
From: Wang, Mary Y [mailto:mary.y.w
Cathy,
It came with the system (I didn't build it from source).
Basically, the main virtual host works, but the second virtual host just
returns the 404 File Not Found Error (even when the file exists in that
directory and permissions is correct)
Mary
From: Smi
Mary
Did you build Apache from source or get it as a Red Hat rpm? I ran into what
sounds like a similar problem. I was running RHEL5 and built Apache 2.2.11
from source.
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
Phone: 509.375.2687
Fax:509.375.233
Cathy,
It's RHEL 3.9.
Mary
From: Smith, Cathy [mailto:cathy.sm...@pnl.gov]
Sent: Monday, May 17, 2010 8:40 PM
To: users@httpd.apache.org; Wang, Mary Y
Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named
Virtual HostAlways Returns 404 F
Mary
Did you mention what platform?
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
Phone: 509.375.2687
Fax:509.375.2330
Email: cathy.sm...@pnl.gov
From: Wang, Mary Y [mailto:mary.y.w...@boeing.com]
Sent: Monday, May 17, 2010 8:37 PM
To: users@httpd.ap
I checked. The -x (execute) bit is turned for other, group and owner. Any
other ideas?
Mary
From: Igor Cicimov [mailto:icici...@gmail.com]
Sent: Sunday, May 16, 2010 10:16 PM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Struggle with Named Virtual Host
Thanks for the help. I still have the same 404 File Not Found Error after
updating the ServerName for both virtual hosts.
I also updated the names of the log files and they didn't provide additional
hints of what the problem is.
Mary
-Original Message-
From: Tapas Mishra [mailto:mi
I am using Zend PHP Framework for my application, so all requests to
non-existent files, directories (or links) are sent to
/index.php/foo/a/b/c/d...
Now what happens is- /index.php/foo and /index.php/foo/ are the same page.
Same page with two different urls is considered bad, so how to redire
On Mon, May 17, 2010 at 7:56 PM, Palle Sejer Larsen
wrote:
>
> Hi,
> I am trying to figure out how to configure Apache vhost.ssl to enable LDAP
> user authentication and LDAP group authorization when these are implemented
> on two different LDAP URLs.
>
> My understanding is that specifying multip
Hi,
I am trying to figure out how to configure Apache vhost.ssl to enable LDAP
user authentication and LDAP group authorization when these are
implemented on two different LDAP URLs.
My understanding is that specifying multiple URLs for AuthLDAPURL will not
work for something like this - right
Well, I tried the following:
Redirect 301 /~music "http://www.csulb.edu/music";
And it worked. So I guess problem solved!
thanks,
Mike
On 5/17/2010 11:31 AM, Mike Soultanian wrote:
Hello,
I'm trying to redirect everyone that goes to http://www.csulb.edu/~music
over to http://www.csulb.edu/de
Hi Tom,
PHP:
The RES size of the apache processes is around 25Mb, which totals to
about 2Gb with 80 processes. The VM is configured with 3Gb RAM, so
memory should be OK.
Mysql:
This, I think, is the most likely explanation - mysql locks. To avoid
this, I tried to set max_execution_time in mysql t
Hello,
I'm trying to redirect everyone that goes to http://www.csulb.edu/~music
over to http://www.csulb.edu/depts/music (no tilde) using the following
.htacess file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://www.csulb.edu/music/$1 [L,NC,R=301]
I'm having mild success
On Sun, May 16, 2010 at 9:42 PM, Peter Halicky wrote:
> Hi,
>
> I run a "LAMP" server with a few websites, one of them quite busy. I use
> Ubuntu 8.04 with apache 2.2.8
> and PHP 5.2.4. The problem is this: about once a day, apache processes
> cause the system load to go very
> high (today it was
Ahh. I didn't read it correctly.
What result is desired when "/foo" is going to be served?
Do you want a directory listing, a default page, or is "/foo" a default page
without an extension?
Maybe that would help me understand the end goal because a directory still
has to have a default page of som
On Mon, May 17, 2010 at 5:31 PM, Kevin Castellow
wrote:
> I would take a look at this module:
> http://httpd.apache.org/docs/2.2/mod/mod_dir.html
>
> Depending on how you built your Apache it should be there by default if you
> used the "all" option for modules.
>
> It should do exactly what you a
>Check the mod_dir directions.
Thanks for the reply, I forgot the welcome.conf has:
Options -Indexes
ErrorDocument 403 /error/noindex.html
My bad...
jlc
-
The official User-To-User support forum of the Apache HTTP Ser
Thanks for the info, I was just trying everything to somehow fix the
problem, I was suspecting some kind of leak, but it is apparently not
the case... Before the problems started (and I started fixing it) it was
set to 0, the setting has no effect on the problem.
On 17.05.2010 17:19, Jeff Trawick
Check the mod_dir directions. This is an option in that module. I do not
see a mapping to the page you want displayed as the default page. In this
example it is the index.html page.
The DirectoryIndex directive sets the list of resources to look for, when
the client requests an index of the dir
I would take a look at this module:
http://httpd.apache.org/docs/2.2/mod/mod_dir.html
Depending on how you built your Apache it should be there by default if you
used the "all" option for modules.
It should do exactly what you are looking for.
Regards,
Kevin Castellow
http://kevincastellow.worki
On Sun, May 16, 2010 at 4:42 PM, Peter Halicky wrote:
> Hi,
>
> I run a "LAMP" server with a few websites, one of them quite busy. I use
> Ubuntu 8.04 with apache 2.2.8
> and PHP 5.2.4. The problem is this: about once a day, apache processes
> cause the system load to go very
> high (today it was
Hi,
For SEO reasons, I'd like to redirect /page/ to /page, how to ?
--
Nilesh Govindarajan (निलेश गोविंदराजन)
Twitter: nileshgr
Facebook: nilesh.gr
Website: www.itech7.com
-
The official User-To-User support forum of the Apache
On a default CentOS install I setup a virtual server for a repo and added
this config which works for all dirs except the root, I get the welcome
redirect. Anyone know what I missed?
ServerNamefoo.domain.local
DocumentRoot /path/foo
Options Indexes
AllowOverride All
On 17/05/10 13:36, Eric Covener wrote:
Can you show in one terminal session the contents of the two
certificates (openssl x509 -in ... -text | grep Subject:) and the
console output of s_client that includes the subject?
According to one of the active SNI folks, your openssl invocation
shouldn't
Hi.
nscd wasn't running. Didn't try to turn it on though.
I guess I'll never find out what was the real reason, as I failed to reproduce
the problem on another CentOS 5.4 machine. It could have been a typo
(overlooked by two people) in config but I'll rather blame it on sun flares and
bad karma.
Hi Igor,
I use awstats, but that also doesn't show too much (I looked at the
actual logs of apache in the period when this problem happened). I also
think it's either PHP or MySQL, but there are very many scripts on the
server, first I'd like to know which script/file is causing this, then I
can l
On Sun, May 16, 2010 at 3:18 PM, Eric Covener wrote:
>> Listen 10.137.1.104:9901
>>
>> SSLEngine on
>> SSLCertificateFile /etc/apache2/conf/www.aaa.at.crt
>> SSLCertificateKeyFile /etc/apache2/conf/www.aaa.at.key
>> Include conf/www.aaa.misc
>>
>>
>> Listen 10.137.1.104:9902
>>
>> SSLEngine on
Peter...apart from the one mentioned above there are bunch of tools you can
use to monitor and analyze your server like webalizer, awstats etc. From
what you have given us above I would expect that PHP is the culprit in this
situation ... except if your application has a database back end in which
38 matches
Mail list logo