[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

worspress error in IIS

Posted on 2007-12-04
8
Medium Priority
?
575 Views
Last Modified: 2013-12-13
I have followed instructions fro iis.net for setting up wordpress with PHP on IIS but I'm getting errors. Here is the one that is holding me up now:
The page cannot be displayed

You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------

Please try the following:

Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

In the vsite under default sites for the wordpress site on the home directory tab I have scripts and executables for excute permissions and on the local path I have checked script source access, read, log visits, and index this resource. I'm also getting prompted to username and password for this site as well and I don't have integrated windown auth checked and anon access enabled with the local iusr account selected............................. any ideas?
0
Comment
Question by:cebrooks03
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 3

Expert Comment

by:yjwong
ID: 20404462
Are you using PHP-CGI? If you are using PHP-CGI, you need to allow execute permissions on the interpreter (called php-cgi.exe on PHP 5, and php.exe on PHP 4). Also propagate the execute permissions of the PHP directory to the child directories.
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 20406103
Yes, I'm using PHP-CGI. Can you elaborate a little on how to do this: "you need to allow execute permissions on the interpreter"
0
 
LVL 3

Accepted Solution

by:
yjwong earned 2000 total points
ID: 20408230
You need right click your PHP directory, hit the "Security" tab, and see whether a user named "IUSR_MachineName" is in the last. If it isn't, then you have to click on "Add", type in "IUSR_MachineName", and check all the boxes (read, write, execute, ... ).

* MachineName is the name of your computer.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:cebrooks03
ID: 20408695
ok, that is what I have done. I still get prompted for username/password and if I enter my admin un/pw I get the same error. The iusr_computer account has the permissions as you have specified on both the php directory and the wordpress directory. I know something has a lock on this but for the life of me I can't find it.
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 20409115
Open the IIS manager.

Open the properties of the directory where you are receiving the error.

Go to the Virtual Directory tab and you should see a drop-down menu with options of "None", "Scripts only" and "Scripts and executables".

Select the "Scripts and executables" option.

This should fix it.

Dave Dietz
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 20410368
That is already set to Scripts and executables.I did try checking "script source access" but I'm still getting ptompted for a username and password when I try to view the page.
0
 
LVL 3

Expert Comment

by:yjwong
ID: 20410678
Microsoft's MSDN might have more information on how IIS authentication works: http://msdn2.microsoft.com/en-us/library/ms955939.aspx

I might have run out of ideas, but maybe you can check your log files to see why IIS is refusing to use the Anonymous Internet User to authenticate.
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 20482592
ok, I got the auth issue worked out. Turns out I was directing my browser to the wrong file..... woops. Thanks for all the help. I'm having another issue with php/mysql but I will start another thread for that.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question