[us...@httpd] Problems with redirects...

2009-02-16 Thread Ken Morley
I'm trying to get our Apache web server to detect and redirect incoming requests from BlackBerry PDAs to a version of the site designed for tiny screens. The URL for the PDA site is identical to the main site, but with /pda appended. Our httpd.conf file contains: # Redirects to accomodate

RE: [us...@httpd] Problems with redirects...

2009-02-16 Thread Ken Morley
Bob: Thanks for the excellent advice. That resolved the issue. I was mistakenly thinking that the RewriteCond did all of the matching. I forgot about matching within the RewriteRule itself. Thanks again! Ken Morley -Original Message- From: Bob Ionescu [mailto:bobsie

[EMAIL PROTECTED] What controls which directories httpd can serve from?

2007-04-09 Thread Ken Morley
I'm running CentOS with Apache httpd V2.0.52-28 and php V4.3.9-3.22.3. This may possibly be a PHP question, but I can't be sure. If I've got the wrong forum, I apologize in advance. On my web server, the document root is configured as /var/www/html. I don't have any problem serving documents