hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : index.php Default Help
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

index.php Default Help

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-15-2002, 12:31 PM
CSTSUPERMAN CSTSUPERMAN is offline
New Member
 
Join Date: Aug 2002
Location: Hilton Head SC
Posts: 4
Exclamation

index.php Default Help


I recently moved my site to a new server. I now have it up and running again.
I have php enabled my local machine to run as a local web host so i can edit and view the pages before uploading.

The one problem I am having now is I can not view the pages that are not in the root folder. And even in the root folder, if i click on the "Home" link, which refers to /index.php. I get the following error.


HTTP Error 403 - Forbidden
Internet Explorer

When I mouse_over the links it shows the correct directory_path, but some reason index.php does not come up as the default page. I get the same error as above.

Is there a variable or switch I need to change or set?

Any help would be greatly appreciated, as I am learning, obviously.

Reply With Quote


Sponsored Links
  #2  
Old 09-15-2002, 12:34 PM
ffeingol ffeingol is offline
Community Guide
 
Join Date: Jun 2001
Location: Earth
Posts: 1,252
Sounds like the DirectoryIndex is not setup to look for index.php. It should be something like:

DirectoryIndex index.php index.html

Frank

__________________
Umbra Hosting
cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
UmbraHosting.com

Reply With Quote
  #3  
Old 09-15-2002, 01:48 PM
akashik akashik is offline
ex-Aussie
 
Join Date: Aug 2000
Location: Tacoma, Washington
Posts: 9,576
you can drop that into a text file and name it .htaccess if you don't have access to root. Just upload it to your site's directory and all should become good again

Greg Moore

__________________
Former Webhost... now, just a guy.

Reply With Quote
Sponsored Links
  #4  
Old 09-15-2002, 10:43 PM
prosayist prosayist is offline
Junior Guru Wannabe
 
Join Date: Dec 2001
Location: New Hampshire
Posts: 93
Re: index.php Default Help

Quote:
Originally posted by CSTSUPERMAN
can not view the pages that are not in the root folder
you can add your <VirtualHost> information to httpd.conf, but you must also (assumed = if(windows).. I don't know anything else yet) edit your HOSTS file to recognize the host

Quote:
Originally posted by CSTSUPERMAN
local machine to run ... local web host
Quote:
Originally posted by akashik
if you don't have access to root

__________________
WYSIWYG

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
Mozilla Updates CA Certificate Policy for Software Products Web Hosting News 2013-02-19 12:32:22
cPanel Launches Version 11.32 of Control Panel and Web Host Manager Web Hosting News 2012-02-15 12:46:33
Web Host Hostpoint Launches Site Builder Using CM4All Sites Web Hosting News 2011-12-12 17:14:12
Cloud Security Firm Dome9 Partners with WordPress, CloudFlare Web Hosting News 2011-08-10 18:28:04


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?