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

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 December 17th, 2001, 11:55 AM
MkJnr MkJnr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2001
Location: London, UK
Posts: 661 MkJnr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to MkJnr Send a message via Yahoo to MkJnr
phpdev

I am trying to show my friend soemthing I have done on my computer on localhost, by them typing my IP into the address bar, but I keep getting this erro:

Forbidden
You don't have permission to access / on this server.

How can I make it so they can see the files on my computer- which files must i change?

Cheers,

Mk
__________________
MkJnr
Soccer24-7.Com

Reply With Quote
  #2  
Old December 17th, 2001, 01:06 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Remove or uncomment the line: ServerName. Hint, Apache listens to all available IPs on your system by default.

>> You don't have permission to access / on this server

1) Check DirectoryIndex, if it says index.html, place it in your docroot.
2) If your <Directory "/path/to/docroot"> is configured to have Indexes disabled, enable it so your friends can see a directory listing at the very least.
3) Are you using any vhosts?

Reply With Quote
  #3  
Old December 17th, 2001, 01:13 PM
MkJnr MkJnr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2001
Location: London, UK
Posts: 661 MkJnr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to MkJnr Send a message via Yahoo to MkJnr
sorry, but which file shud i be making these changes to in the apcahe directory?

Reply With Quote
  #4  
Old December 17th, 2001, 01:29 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Check your httpd.conf

Reply With Quote
  #5  
Old December 17th, 2001, 01:49 PM
MkJnr MkJnr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2001
Location: London, UK
Posts: 661 MkJnr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to MkJnr Send a message via Yahoo to MkJnr
cheers, it seems if i do my Ip followed by the folder public then it lets people see files in that folder

Reply With Quote
  #6  
Old December 17th, 2001, 02:50 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 18
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Quote:
Originally posted by MkJnr
cheers, it seems if i do my Ip followed by the folder public then it lets people see files in that folder

"Option -Indexes" in .htaccess
__________________
And you know I mean that.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > phpdev


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT