Jump to content

Server error


austine_power007

Recommended Posts

my client using IE 6 above ...i think it will work in IE 6 .....but why i am getting errors?? mainly i make the folder and the document to index.php but when i write the address like: http://localhost/My_blog then press enter it show error you are not authorized to view this page .........why??
Link to comment
https://forums.phpfreaks.com/topic/31859-server-error/#findComment-147850
Share on other sites

Now i understood.
You need to define a directory index.
Its because when u type like this : [color=red]http://sitename/foldername[/color]
the server looks for a default page to open. U have not set index.php as ur default page.
do it by opening iis console-> right click on ur folder->there will be a tab for setting directory index with a list of page names like
index.html
default.asp
...

add index.php there.

This will solve this.
Link to comment
https://forums.phpfreaks.com/topic/31859-server-error/#findComment-147859
Share on other sites

[quote author=Stopofeger link=topic=119925.msg491650#msg491650 date=1167125472]
Now i understood.
You need to define a directory index.
Its because when u type like this : [color=red]http://sitename/foldername[/color]
the server looks for a default page to open. U have not set index.php as ur default page.
do it by opening iis console-> right click on ur folder->there will be a tab for setting directory index with a list of page names like
index.html
default.asp
...

add index.php there.

This will solve this.
[/quote]

I have done this before but i am facing this problem .....i m getting mad help meeeeeeee
Link to comment
https://forums.phpfreaks.com/topic/31859-server-error/#findComment-147863
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.