I've got two extremely strange problems with Apache just now, just
wondered if anyone had seen anything like them before.

I have a server with many virtual hosts - however two or three of them
are behaving very strangely.  The virtual sites are served from users'
home directories.

Firstly I have a site which is working absolutely perfectly - EXCEPT the
"index.cfm" file.  For some strange reason, instead of serving the
site's own index.cfm, Apache (or BD) is trying to serve the default
index.cfm from the default Apache directory.

For illustration, the site is in
/home/david/websites/www.thissite.com/website/

But is trying to serve index.cfm from 
/var/www/html (which is the default directory set up in Apache).

All other files in the site serve as they should - it's utterly bizarre.
BD debugging shows the correct CGI path_info for the file, but the
"cf_template_path" variable shows /var/www/html. 

Most bizarrely, even changing the filename to "index2.cfm" makes it
serve properly.  The file has no redirects or anything like that.  Other
CF sites in the same folder, set up in the same way, serve absolutely
fine.


Secondly, but similar, I have two other sites which aren't behaving
properly at all.  Again, they serve correctly for the most part, but
have a nagging problem.

For illustration, the site is in
/home/martin/websites/www.thissite.com/website

And if you navigate to 'www.thissite.com' then it serves fine.  However
despite having a ServerAlias of 'thissite.com', it refuses to serve the
site from that address.  In this case, the CGI path_info seems to
change, depending which URL has been typed in.  With 'www.thissite.com',
the cf_template_path is "/home/martin/websites/www.thissite.com/" but if
the URL is plain old "thissite.com" then the cf_template_path is
"/home/martin/websites/thissite.com" which doesn't exist.

I've never come across anything like this before - the environment is
Apache 2.052 on CentOS 4 with BD JX 6.2 and many other sites are working
fine - these are just pure exceptions.  I've tried changing the
ownership of the site directory, changing permissions to 777, everything
- I even set up the sites as the only virtual site in Apache and nothing
worked.

Any pointers or help would be greatly appreciated!

David


------------------------------------------------
David Low
Senior Developer and Data Manager
MyHousePrice.com
3 Wellgreen Lane
STIRLING, FK8 2BS

tel: +44 (0) 1786 472 186
fax: +44 (0) 1786 472 109
email: [EMAIL PROTECTED]
web: www.MyHousePrice.co.uk

MyHousePrice.com
Every House Sold, Every Price Paid
------------------------------------------------

This email is intended only for the person, persons, entity, or entities to 
which it is addressed. It does not necessarily represent the views of 
MyHousePrice.com Ltd.

This email may contain confidential and/or privileged materials. In the case of 
confidential and/or privileged materials, any review, retransmission, 
dissemination or other use, including the taking of any action in reliance upon 
these materials, by persons or entities other than the intended recipient may 
be the subject of legal action.

If you have received this email in error please contact the sender and delete 
the material from your computer.

Internet e-mails are not necessarily secure. MyHousePrice.com Ltd does not 
accept responsibility for changes made to this message after it was sent.

Many thanks.
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to