IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 1st, 2008, 01:39 AM
rh91uk rh91uk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 4 rh91uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 20 sec
Reputation Power: 0
This Page Cannot be Found

Hi guys! First post here ... so be kind haha!

Ok, I'm having a problem here. I work in a school - and we have created a new virtual directory - and placed some PHP in there. We now get a response saying "This page cannot be found" for the PHP - which is blatenly there. I am at a loss! I've checked whether the extension is enabled on the virtual directory, which it is, checked permissions, its all fine - and i;m now generally just getting annoyed!

Any help would be much appreciated

Cheers

Reply With Quote
  #2  
Old July 1st, 2008, 05:55 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
if you're using IIS you have to install php on IIS before you can run php pages. You can find php installation instructions for windows/iis in the php download.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old July 2nd, 2008, 02:16 AM
rh91uk rh91uk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 4 rh91uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 20 sec
Reputation Power: 0
Hi Doug - thanks for the reply.

PHP is installed as we can run PHP pages fine from the root site, just not the virtual directory!

Any other ideas anyone?

Reply With Quote
  #4  
Old July 2nd, 2008, 02:44 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
Give some more details on exactly how you set up your directory, what kind of page you're trying to call, what the exact error is.

Reply With Quote
  #5  
Old July 2nd, 2008, 05:32 AM
rh91uk rh91uk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 4 rh91uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 20 sec
Reputation Power: 0
Hi Doug,

I set up the directory by how you'd usually add a virtual directory to IIS. I then made sure everyone has read/writer/execute permissions to read the PHP file. Then, the exact error is literally as folows:

Quote:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.


rh91uk

Reply With Quote
  #6  
Old July 2nd, 2008, 06:13 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
But how are you trying to reach the page? http://localhost/myphppage.php or something similar? What is the php? Does a basic <?php phpinfo(); ?> page work? Also what version of IIS? Normally when you create a virtual directory using the IIS MMC permissions get setup properly by the creation process, the only thing you usually need to tweak would be write permissions.

Reply With Quote
  #7  
Old July 3rd, 2008, 02:10 AM
rh91uk rh91uk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 4 rh91uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 20 sec
Reputation Power: 0
Yeah, trying to reach the page by http://directory/directory2/bob.php for e.g.

The write permissions are all set too. and Php info doesn't work!

cheers for all your help

Reply With Quote
  #8  
Old July 3rd, 2008, 03:25 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,820 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 18 h 54 m 40 sec
Reputation Power: 765
The url you are using won't work. You need to identify the web server, if you're running the browser from the same computer as the web server you should use http://localhost/directory/directory2/bob.php which assumes 'directory' is a virtual directory.

If you're trying to reach the web server from another computer you'd use the ip of the web server or it's name in the url.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > This Page Cannot be Found


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway