httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Virtual hosts: bad resolution for .php files
Date Fri, 28 May 2004 14:00:30 GMT
> -----Original Message-----
> From: Jiropole [mailto:ji@jiropole.net]
> 
> 
> No, like I say I am trying the most simple of cases - just hitting
> the raw server address for the virtual host (www.jirosoft.net).  If
> the directory contains an index.html, it loads without any problems.
> If it only contains index.php, it will open the one in the default
> host directory, but tries to use the virtual host directory as
> the working directory.  If I rename it to a unique 'this_index.php',
> and hit the qualified 'jirosoft.net/this_index.php', I simply
> get the message 'No input file specified. '  Is that meaningful?

There is something wrong with the requests that are generated by your
PHP script. You need to trap them.

- log the host header in the request (see LogFormat for details)
- view source on index.php to see what the internal hrefs look like..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> I have been over my configs 100 times... I feel like I must be doing
> something wrong but I'm definitely missing it.  For what it's worth,
> people have reported similar problems using virtual hosts with other
> 3rd-party modules, like ColdFusion MX...
> 
> 
> Thanks for the response,
> J
> 
> 
>  >
> > > I've read many posts from people with this problem,
> > > but not a single successful solution.  I couldn't
> > > even find a related bug in the Apache bug database...
> > > If anyone can suggest anything, that would be great.
> > >
> > > Below are some pertinent bits from my config file
> > > (jirosoft.net is the virtual hosted domain).
> > >
> > > Many thanks!
> > > -Jesse
> > >
> > > *******************************
> > >
> > > UseCanonicalName Off
> > >
> > > <Directory /WebDocs/Jirosoft>
> > >      Options FollowSymLinks
> > >      AllowOverride None
> > >      Order Allow,Deny
> > >      Allow from All
> > > </Directory>
> > >
> > > DirectoryIndex index.html index.php index.html.var
> > >
> > > AddType application/x-httpd-php .php
> > > Action application/x-httpd-php "/php/php.exe"
> > >
> > > NameVirtualHost *
> > >
> > > # default server
> > > <VirtualHost *>
> > >      DocumentRoot C:/WebDocs
> > >      ServerName www.jiropole.net
> > >      ServerAlias jiropole.net *.jiropole.net
> > >      ServerAdmin webmaster@jiropoleREMOVEUPPERCASE.net
> > > </VirtualHost>
> > >
> > > # jirosoft.net server
> > > <VirtualHost *>
> > >      DocumentRoot C:/WebDocs/Jirosoft
> > >      ServerName www.jirosoft.net
> > >      ServerAlias jirosoft.net *.jirosoft.net
> > >      ServerAdmin webmaster@jirosoftREMOVEUPPERCASE.net
> > > </VirtualHost>
> > >
> > > *******************************
> > >
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message