Makeing exstentions work on vista ultimate ASP or PHP (MIME extensions issue)
Makeing exstentions work on vista ultimate ASP or PHP (MIME extensions issue)
am 19.01.2008 19:23:16 von Martin Vaupell
As alot who have trouble with ewen getting it installed with either Php or
Asp.
for php5 ive found a guide thats not working
http://blogs.iis.net/bills/archive/2006/09/19/How-to-install -PHP-on-IIS7-_2800_RC1_2900_.aspx
as for ASP ive read alot of suggestions and guides which also did not work.
could not really care which im running ASP or PHP, but html alone is really
not
usefull at all..
so i wanted to play around with my local server
Vista ultimate edition installed most of ISS except CGI support.
but i cant get ->
*.asp
*.aspx
*.php
working, ive installed ewrything, followed instructions found around the
web, tx google.
enabled the use of the in "default document" etc
Howewer im not sure how to ADD in MiME Types which are lacking those files.
cause all 3 files are missing.. so i guess thats why they wont run..
but what do i type in the "Type" field..
Name : *.asp
Type : ??????
Name : *.aspx
Type : ??????
Name : *.php
Type : ??????
p. s i only need either Classic ASP or PHP..
tx in advance,
Re: Makeing exstentions work on vista ultimate ASP or PHP (MIME
am 20.01.2008 01:02:54 von David Wang
On Jan 19, 10:23=A0am, "Martin Vaupell" wrote:
> As alot who have trouble with ewen getting it installed with either Php or=
> Asp.
>
> for php5 ive found a guide thats not workinghttp://blogs.iis.net/bills/arc=
hive/2006/09/19/How-to-install-PHP-on-I...
>
> as for ASP ive read alot of suggestions and guides which also did not work=
..
> could not really care which im running ASP or PHP, but html alone is reall=
y
> not
> usefull at all..
>
> so i wanted to play around with my local server
> Vista ultimate edition installed most of ISS except CGI support.
>
> but i cant get ->
>
> *.asp
> *.aspx
> *.php
>
> working, ive installed ewrything, followed instructions found around the
> web, tx google.
> enabled the use of the in "default document" etc
>
> Howewer im not sure how to ADD in MiME Types which are lacking those files=
..
> cause all 3 files are missing.. =A0so i guess thats why they wont run..
> but what do i type in the "Type" field..
>
> Name : *.asp
> Type : ??????
>
> Name : *.aspx
> Type : ??????
>
> Name : *.php
> Type : ??????
>
> p. s i only need either Classic ASP or PHP..
>
> tx in advance,
Getting .asp, .aspx, and .php to work is very easy. Just install:
- ASP, ASP.Net in Windows Features under Application Development
feature
- PHP you need to install separately, and make sure the ISAPI
Extension feature is installed
- Make sure the virtual directories have the "Scripts" execute
permission
If you find instructions to do anything else, then it is incorrect or
has other assumptions. I'm only assuming you have a clean IIS7
installation and would like to see .asp, .aspx, and .php pages execute
on the server to produce HTML that browsers can render.
Adding MIME Types is definitely *not* the solution you are looking
for. MIME Types make the file content downloadable -- the scripts
themselves. You want the scripts to *execute* on the server to
generate HTML content that browsers can render.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Makeing exstentions work on vista ultimate ASP or PHP (MIME extensions issue)
am 20.01.2008 20:34:20 von Martin Vaupell
Getting .asp, .aspx, and .php to work is very easy. Just install:
- ASP, ASP.Net in Windows Features under Application Development
feature
- PHP you need to install separately, and make sure the ISAPI
Extension feature is installed
- Make sure the virtual directories have the "Scripts" execute
permission
If you find instructions to do anything else, then it is incorrect or
has other assumptions. I'm only assuming you have a clean IIS7
installation and would like to see .asp, .aspx, and .php pages execute
on the server to produce HTML that browsers can render.
Adding MIME Types is definitely *not* the solution you are looking
for. MIME Types make the file content downloadable -- the scripts
themselves. You want the scripts to *execute* on the server to
generate HTML content that browsers can render.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Allright well im currentnly running 2 server applications off my
installation
One works with asp and aspx
the other "primary" dont constant gives HTTP-error 404
when trying to execute a html file renamed to asp with no scripts inside
and both installations got EXCAKTLY the same setup inside IIS manager.
what am i missing herE ? any ideas? suggestions where to looks?
the primary is run of its initial location c:/inetpub/wwwroot/
while the other is run from d:/VPNsite/root/
//
Re: Makeing exstentions work on vista ultimate ASP or PHP (MIME extensions issue)
am 20.01.2008 23:20:26 von Martin Vaupell
ok i solved ALL my issue by moveing root folder to D:
now all works both asp and php
so im guessing its about permissions on c: drive.
nm got it solved.
Re: Makeing exstentions work on vista ultimate ASP or PHP (MIME
am 21.01.2008 09:49:39 von David Wang
On Jan 20, 2:20=A0pm, "Martin Vaupell" wrote:
> ok i solved ALL my issue by moveing root folder to D:
> now all works both asp and php
> so im guessing its about permissions on c: drive.
>
> nm got it solved.
Permissions issues do not show up as 404, so I doubt your resolution
is correct. I suspect you had some hard-coded configuration in IIS
which requires D: instead of C, so moving things to D: "works".
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//