Re: [us...@httpd] apache cannot display images

2009-05-08 Thread Igor Cicimov
The folder where you put the image and the image itself should be world readable. On Sat, May 9, 2009 at 5:51 AM, André Warnier wrote: > jeremy co wrote: > >> Hi, >> >> I'm pretty new to apache , I haven't change httpd.conf much yet, just root >> directory changed. >> >> >> what happen is I put

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Igor Cicimov
Ups, this directive (and just that one): Redirect permanent .* http://www.b-of-a.com should be used in the VirtualHost section for the old domain. Sorry for the confusion copy-paste mistake from one of my config files :) On Sat, May 9, 2009 at 9:25 AM, Igor Cicimov wrote: > Maybe something li

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Igor Cicimov
Maybe something like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.merill-lynch\.com$ RewriteRule .* http://www.b-of-a.com [R=301,L] or RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.merill-lynch\.com$ Redirect permanent .* http://www.b-of-a.com Cheers, Igor On Sat, May 9, 2009 at 9:

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Evan Platt
At 03:58 PM 5/8/2009, you wrote: This has probably been asked before, but I'm not sure how to search for it in the archives. I have an Apache server, and a domain name. Now, my domain name changes. The web pages content does not change, only the domain. As an illustrative example, lets say t

[us...@httpd] conf file: changing domains

2009-05-08 Thread kp_stv
This has probably been asked before, but I'm not sure how to search for it in the archives. I have an Apache server, and a domain name. Now, my domain name changes. The web pages content does not change, only the domain. As an illustrative example, lets say that it used to be www.merrill-lyn

Re: [us...@httpd] apache cannot display images

2009-05-08 Thread André Warnier
jeremy co wrote: Hi, I'm pretty new to apache , I haven't change httpd.conf much yet, just root directory changed. what happen is I put jpg file in root directory and try to c=access it via , www.somedomain.com/pic.jpg and I get url of file instead in firefox and in IE I get image not displa

Re: [us...@httpd] restrict virtualhost to certain type of files

2009-05-08 Thread Nick Kew
Davide Bianchi wrote: jeremy co wrote: restrict virtual host to serve only files with the extensions html, jpg, and png. and also generate custom error msg if client request other type of files Use to scope a restriction, and ErrorDocument. I'd do something like: RewriteCond %{REQUEST_

Re: [us...@httpd] restrict virtualhost to certain type of files

2009-05-08 Thread Davide Bianchi
jeremy co wrote: > restrict virtual host to serve only files with the extensions html, jpg, > and png. and also generate custom error msg if client request other type > of files I'd do something like: RewriteCond %{REQUEST_URI} !.*\.html$ RewriteCond %{REQUEST_URI} !.*\.jpg$ RewriteCond

[us...@httpd] restrict virtualhost to certain type of files

2009-05-08 Thread jeremy co
Hi, does anyone know how to do this scenario : restrict virtual host to serve only files with the extensions html, jpg, and png. and also generate custom error msg if client request other type of files Jeremy

Re: [us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Jonathan Zuckerman
On Fri, May 8, 2009 at 8:37 AM, Justin Pasher wrote: > Brent Clark wrote: >> >> Hiya >> >> Sorry to give and example, I have inherited this machine, and I have this >> in the conf file >> >>       Alias "/dms-bookings/"       "/bookingsdata/bookings_data/bookings/" >>       Alias "/dms-bookings-ne

[us...@httpd] apache cannot display images

2009-05-08 Thread jeremy co
Hi, I'm pretty new to apache , I haven't change httpd.conf much yet, just root directory changed. what happen is I put jpg file in root directory and try to c=access it via , www.somedomain.com/pic.jpg and I get url of file instead in firefox and in IE I get image not displayed thumbnail with

Re: [us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Justin Pasher
Brent Clark wrote: Hiya Sorry to give and example, I have inherited this machine, and I have this in the conf file Alias "/dms-bookings/" "/bookingsdata/bookings_data/bookings/" Alias "/dms-bookings-new/" "/bookingsdata/bookings_data/bookings/" Alias "/dms-booki

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-08 Thread Edward Ned Harvey
Perhaps I'm not properly distinguishing authentication and authorization. In order to get anywhere, the user has already authenticated. However, there are some pages where a user should not be authorized, and rather than prompt them to re-authenticate, I want to display something saying they're n

[us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Brent Clark
Brent Clark wrote: Hiya I need help with a rewrite rule, and I was hoping someone would be kind to help. I need to mod_rewrite and /or alias for the following example links. http://192.168.111.124/dms-bookings-1/34873/ACC_1_Comm01_34873_20080303.pdf http://192.168.111.124/dms-bookings-

Re: [us...@httpd] Information about .DAV directory

2009-05-08 Thread Thomas Lindgren
On Fri, May 8, 2009 at 10:04 AM, Marc Patermann < hans.mo...@ofd-sth.niedersachsen.de> wrote: > Hi, > > Marc Patermann schrieb: > >> in a WebDAV directory apache* creates a .DAV subdirectory in which files >> like document_in_dir_above.dir and document_in_dir_above.pag are stored. >> >> I think, t

[us...@httpd] Mod rewrite help

2009-05-08 Thread Brent Clark
Hiya I need help with a rewrite rule, and I was hoping someone would be kind to help. I need to mod_rewrite and /or alias for the following example links. http://192.168.111.124/dms-bookings-1/34873/ACC_1_Comm01_34873_20080303.pdf http://192.168.111.124/dms-bookings-2/34873/ACC_2_Comm

Re: [us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-08 Thread Rainer Frey
On Thursday 07 May 2009 16:08:01 wayne wrote: > ahoy, > also, once dynamic/mass virtual hosting is enabled, i can no longer > access the "default" site of localhost or 127.0.0.1. i have tried to > use a VirtualHost directive to setup a default host (i.e. localhost), > but with no luck. > >

Re: [us...@httpd] Information about .DAV directory

2009-05-08 Thread Marc Patermann
Hi, Marc Patermann schrieb: in a WebDAV directory apache* creates a .DAV subdirectory in which files like document_in_dir_above.dir and document_in_dir_above.pag are stored. I think, this is for the "V" in "DAV" (Versioning), right? How can I make use of this DBM database file and or "control

Re: [us...@httpd] Re: IPv6 support on Apache-2.2.x

2009-05-08 Thread William A. Rowe, Jr.
sathya sai wrote: > Thanks guys for your continous support :-) > > From http://www.rfc-editor.org/rfc/rfc3879.txt, I could understand that > IPv6 site local address (FEC0 prefixed) is deprecated and not the link > local address (FC80 prefix). > > I think, now I would need to see if I can someh