Problems after changing folder into default web site in iis
Hi i have changed the location of my site folder in iis ,since then the website is not displaing an image also the paths are like this.The media folder is causing this problem ,as it is still using the old path.
You moved the umbraco application files from wwwroot to wwwroot\sam? Did you also set the IIS Physical Path for Default Website to wwwroot\sam, or are you trying to run umbraco in a subfolder? Based on your expected url of http://localhost:80/Sam/media /16823/holiday.jpg I am assuming that's the case....maybe i'm wrong.
The url's for pages and media are relative to the umbraco root which is "Default Web Site" or http://localhost:80. So 'Sam" is only a part of the physical file system and won't show in the url.
Check the physical path setting for Default Website which should point to wwwroot\sam and then http://localhost:80/media/16823/holiday.jpg would be the right url of the media file even though c:\inetpub\wwwroot\sam\media\16823\holiday.jpg is the physical address.
Hi chris i am sure i have set the physical path of the application correctly.
i always work with the project folders in c:inetpub/wwwroot. but in iis7 ,which i am using i have created a new website and gave the physical path to c:\inetpub\wwwroot\sam. initially it worked.
so i have created a new site in "default web site" (IIS7) and gave the physical path to c:\inetpub\wwwroot\sam (offcourse i have removed the bindings). but still the problem is not resolved.
Problems after changing folder into default web site in iis
Hi i have changed the location of my site folder in iis ,since then the website is not displaing an image also the paths are like this.The media folder is causing this problem ,as it is still using the old path.
Requested URL http://localhost:80/media/16823/holiday.jpg
Physical Path
C:\inetpub\wwwroot\media\16823\holiday.jpg
insted it should be like
http://localhost:80/Sam/media /16823/holiday.jpg
C:\inetpub\wwwroot\sam\media\16823\holiday.jpg
how can i do it. is it caused by changing the website in iis into 'Default Web Site' .Before moving it to
'Default Web Site' i have made it as a saperate website.
You moved the umbraco application files from wwwroot to wwwroot\sam? Did you also set the IIS Physical Path for Default Website to wwwroot\sam, or are you trying to run umbraco in a subfolder? Based on your expected url of http://localhost:80/Sam/media /16823/holiday.jpg I am assuming that's the case....maybe i'm wrong.
The url's for pages and media are relative to the umbraco root which is "Default Web Site" or http://localhost:80. So 'Sam" is only a part of the physical file system and won't show in the url.
Check the physical path setting for Default Website which should point to wwwroot\sam and then http://localhost:80/media/16823/holiday.jpg would be the right url of the media file even though c:\inetpub\wwwroot\sam\media\16823\holiday.jpg is the physical address.
My 2cents :)
-Chris
Hi chris i am sure i have set the physical path of the application correctly.
i always work with the project folders in c:inetpub/wwwroot. but in iis7 ,which i am using i have created a new website and gave the physical path to c:\inetpub\wwwroot\sam. initially it worked.
so i have created a new site in "default web site" (IIS7) and gave the physical path to c:\inetpub\wwwroot\sam (offcourse i have removed the bindings). but still the problem is not resolved.
is working on a reply...