petter7252 Posted March 5, 2008 Posted March 5, 2008 I have been googlin but i cant find an answer. Anyone here knows? Becaus when i go to the site folder(http://localhost/stats) it just shows the files inside. i need it to host the statistic page, its a .XSL file. it also got a .css file with the same name as the .XSL file. Quote
Forum² Admin F2 Staff Posted March 5, 2008 Forum² Admin Posted March 5, 2008 Use IIS Manager. You can change/add script mappings using the Handler Mappings module within IIS manager. Quote
petter7252 Posted March 6, 2008 Author Posted March 6, 2008 i know that alreddy, but i need to add xsl to it, but how... is xsl the same as xml or? Quote
Forum² Admin F2 Staff Posted March 6, 2008 Forum² Admin Posted March 6, 2008 I had a brain cramp. There is no way that I know of to open xls files via a web page. You have to have Microsoft Excel or some compatible viewer installed on the end users computer. If a user has Excel or Excel Viewer when they click a link to the xls file Excel will start on their computer so they can view the file. As far as I know there isn't any way to have it open on the server. I do know that there is an option in Excel to publish as webpage. Maybe that would be a better option. Quote
petter7252 Posted March 7, 2008 Author Posted March 7, 2008 Ok. by the way, how can i make the index.html the default page to go to when i go to "mysite.com" Its in c:/wwwroot/stats Can i make like an .php in the wwwroot and direct it to .stats/index.html? without it showing like "mysite.com/stats"? Quote
Forum² Admin F2 Staff Posted March 7, 2008 Forum² Admin Posted March 7, 2008 IIS Manager > Default Documents. Add index.html to the list. Quote
petter7252 Posted March 8, 2008 Author Posted March 8, 2008 This is what happens: That url in the second picture is the same server i want the second page to be the first page, do i gotta have it in the root folder ? I tried to turn the script blocker to that site off, but the only thing that change was that i could collapse the "tree". Sorry for the big screen shots Quote
Forum² Admin F2 Staff Posted March 8, 2008 Forum² Admin Posted March 8, 2008 Yes, you'll have it in the webroot or you could just change the webroot to the stats directory using iis manager. Quote
petter7252 Posted March 9, 2008 Author Posted March 9, 2008 got it :D i changed the html, it redicted to http://naer.no-ip.biz/stats/server_stats.xsl i change it toserver_stats.xsl then it worked. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.