Jump to content
The Uniform Server Community
Sign in to follow this  
agath01

403 Forbidden

Recommended Posts

I'm taking a course in PHP and my instructor suggested Uniform Server. For some reason when I type the path to my root directory.

 

I type this in my browser: http://localhost/z:/allinone.php

 

and I get:

 

Forbidden

 

You don't have permission to access /z:/allinone.php on this server.

 

I am new to uniform server and I am so lost please help.

Share this post


Link to post
Share on other sites

My initial thought was you have not placed your file allinone.php in folder UniServer\udrive\www

 

Note: www is the server root folder and this is what you access by typing in http://localhost/

 

A blank page after typing http://localhost/allinone.php indicates there is no displayable content. If the page were not in this folder it would have displayed Not Found

 

Add the following to your page:

 

phpinfo();

 

Should list PHP information

 

All the best

Ric :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...