Ignore me if safe_mode was off.
Have you pulled up the file in a browser and verified that the alias
is functional?
A couple things came to mind:
1) Apache is case sensitive. if I remember correctly, IIS wasn't case
sensitive unless configured to be.
2) If mod_alias isn't working for some reason, a ntfs symbolic link
should be a quickfix.
mklink /D c:\yourwamppath\www\PDF c:\wwwroot\PDF
3) Does your apache process have permissions to access that folder?
Hopefully that helps,
Felipe Recalde
Director of IT
OFFICE (956) 943-3622
FAX (956) 943-2070
NO. 1 GOLF HOUSE RD.
LAGUNA VISTA, TX 78578
WWW.LANDMARKLANDCO.COM
WWW.SPIGOLF.COM
0
On Jan 4, 2010, at 11:53 AM, Doug Boude wrote:
> No sir. but, my safe mode is currently set to off. Do I still need
> that directive?
>
> On Mon, Jan 4, 2010 at 11:49 AM, Felipe Recalde <[email protected]>
> wrote:
>
> Do you have c:/wwwroot/PDF listed in the php.ini
> safe_mode_include_dir directive?
>
>
>
>
>
>
> Felipe Recalde
> Director of IT
>
> OFFICE (956) 943-3622
> FAX (956) 943-2070
>
> NO. 1 GOLF HOUSE RD.
> LAGUNA VISTA, TX 78578
> WWW.LANDMARKLANDCO.COM
> WWW.SPIGOLF.COM
>
>
> On Jan 4, 2010, at 11:38 AM, Doug Boude wrote:
>
>> On a windows machine running WAMP, and from within a virtual host
>> that acts as its own root, I am checking for the existence of a
>> file using file_exists("/PDF/4239-0001.PDF") . Under IIS with a
>> virtual directory named PDF pointing to the PDF folder, this
>> statement returns true; under apache with an alias named PDF
>> pointing to the right folder (windows), this same statement returns
>> false. Can anybody tell me what I need to do to Apache in order for
>> that statement to work as is?
>>
>> Here's my alias definition:
>>
>> Alias /PDF "C:/wwwroot/PDF"
>>
>> <Directory "C:/wwwroot/PDF">
>> Options Indexes FollowSymLinks MultiViews
>> AllowOverride all
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>>
>> Thanks for any ideas. I've tried all manner of slashes, trailing
>> slashes, case, etc. and can get nothing to work.
>>
>> Doug :0)
>>
>> --
>> Our Web site: http://www.RefreshAustin.org/
>>
>> You received this message because you are subscribed to the Google
>> Groups "Refresh Austin" group.
>>
>> [ Posting ]
>> To post to this group, send email to [email protected]
>> Job-related postings should follow http://tr.im/refreshaustinjobspolicy
>> We do not accept job posts from recruiters.
>>
>> [ Unsubscribe ]
>> To unsubscribe from this group, send email to
>> [email protected]
>>
>> [ More Info ]
>> For more options, visit this group at
>> http://groups.google.com/group/Refresh-Austin
>
>
> --
> Our Web site: http://www.RefreshAustin.org/
>
> You received this message because you are subscribed to the Google
> Groups "Refresh Austin" group.
>
> [ Posting ]
> To post to this group, send email to [email protected]
> Job-related postings should follow http://tr.im/
> refreshaustinjobspolicy
> We do not accept job posts from recruiters.
>
> [ Unsubscribe ]
> To unsubscribe from this group, send email to
> [email protected]
>
> [ More Info ]
> For more options, visit this group at
> http://groups.google.com/group/Refresh-Austin
>
>
> --
> Our Web site: http://www.RefreshAustin.org/
>
> You received this message because you are subscribed to the Google
> Groups "Refresh Austin" group.
>
> [ Posting ]
> To post to this group, send email to [email protected]
> Job-related postings should follow http://tr.im/
> refreshaustinjobspolicy
> We do not accept job posts from recruiters.
>
> [ Unsubscribe ]
> To unsubscribe from this group, send email to
> [email protected]
>
> [ More Info ]
> For more options, visit this group at
> http://groups.google.com/group/Refresh-Austin
--
Our Web site: http://www.RefreshAustin.org/
You received this message because you are subscribed to the Google Groups
"Refresh Austin" group.
[ Posting ]
To post to this group, send email to [email protected]
Job-related postings should follow http://tr.im/refreshaustinjobspolicy
We do not accept job posts from recruiters.
[ Unsubscribe ]
To unsubscribe from this group, send email to
[email protected]
[ More Info ]
For more options, visit this group at
http://groups.google.com/group/Refresh-Austin