PHP File with trailing slash lacks style sheet

This is a discussion on PHP File with trailing slash lacks style sheet within the Inetserver forums in Microsoft Tools category; For some reason if I enter http://example.site.com/page.php/ instead of loading everything fine, it tries to load all style sheets and images out of the http://example.site.com/page.php/ "folder" instead of http://example.site.com/ is there anyway to have IIS treat page.php/ or even page.html/ as a file and not a directory? Travis...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-07-2008, 01:03 PM
Travis Megee
Guest
 
Default PHP File with trailing slash lacks style sheet

For some reason if I enter http://example.site.com/page.php/ instead of
loading everything fine, it tries to load all style sheets and images out of
the http://example.site.com/page.php/ "folder" instead of
http://example.site.com/ is there anyway to have IIS treat page.php/ or even
page.html/ as a file and not a directory?

Travis

Reply With Quote
  #2  
Old 02-07-2008, 01:18 PM
Kristofer Gafvert
Guest
 
Default Re: PHP File with trailing slash lacks style sheet

No, you cannot do this. How would IIS know if it was a file or folder? What
if you have a file named page.php in C:\whatever\ and also a folder named
page.php in the very same folder? Should IIS serve the file or the default
document in the folder?


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Travis Megee" <twmcn6@mst.edu> skrev i meddelandet
news:C3D0A401.3FD8%twmcn6@mst.edu...
> For some reason if I enter http://example.site.com/page.php/ instead of
> loading everything fine, it tries to load all style sheets and images out
> of
> the http://example.site.com/page.php/ "folder" instead of
> http://example.site.com/ is there anyway to have IIS treat page.php/ or
> even
> page.html/ as a file and not a directory?
>
> Travis
>


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:46 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.