httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <>
Subject Re: [users@httpd] "C is not a recognized protocol"
Date Thu, 10 Jun 2004 02:23:14 GMT
Try changing

<a href="C:/sites/../../


<a href="file://C:\sites\..\..\

Windows *needs* backslashes , and file is the correct protocol (though I think if you *just*
change the backslashes it will still work.


David Blomstrom wrote:

>OK, I want to start from square one, so you'll know
>exactly where I'm "coming from." If it sounds like a
>PHP question at first, just bear with me.
>An error message I received in ZendStudio suggested
>that my include links were a security risk and that I
>switch to "constant" include links. After asking
>around on several forums, I finally wound up with this
><?php include
>($_SERVER['DOCUMENT_ROOT']."/includes/footer.php"); ?>
>It works fine, but I'm having trouble applying it to
>non-include links. For example, if I change this
><a href="../../world/index.php">World</a>
>to this...
><a href="<?php echo
>then preview my page, I see this in the source code:
><a href="C:/sites/../../world/index.php">World</a>
>That looks pretty logical, but when I click the link,
>I receive an error message that says "C is not a
>registered protocol."
>Does this mean there's something wrong with my virtual
>host set up, or is this a PHP problem?
>Do you Yahoo!?
>Friends.  Fun.  Try the all-new Yahoo! Messenger.
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message