Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

PHP File with trailing slash lacks style sheet

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Suggestions for template for essays?  
Author Message
Travis Megee

External


Since: Feb 01, 2008
Posts: 4



(Msg. 1) Posted: Thu Feb 07, 2008 12:03 pm
Post subject: PHP File with trailing slash lacks style sheet
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: PHP File with trailing slash lacks style sheet 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Thu Feb 07, 2008 3:06 pm
Post subject: Re: PHP File with trailing slash lacks style sheet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@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
>

 >> Stay informed about: PHP File with trailing slash lacks style sheet 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]