Re: VirtualHost, ScriptAlias, AddHandler, and relative URLs..

"Eric Covener" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On 9/28/06, Roger Mayes <[email protected]> wrote:
> If the page returned when http://my.host.com/moduleA is requested asks for
> css/mystyles.css, the request uri is /css/mystyles.css.  (It puts in a
> leading slash whether url the page asked for has one or not.)  The thing is,
> I want to map /css/mystyles.css to /myhost/htdocs/css/mystles, not to
> /myhost/moduleA/htdocs/css/styles.  But I want to map
> css/mystles.css to the later.  But I have no way to tell which of the two
> was requested.

An http client only sends the absolute form of the path, obviously
assembled via the context in which the href appears.

You'd need to change one of the URIs to differentiate between the two.

-- 
Eric Covener
[email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.