|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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? |
|
#3
|
|||
|
|||
|
sorry, but which file shud i be making these changes to in the apcahe directory?
|
|
#4
|
|||
|
|||
|
Check your httpd.conf
|
|
#5
|
|||
|
|||
|
cheers, it seems if i do my Ip followed by the folder public then it lets people see files in that folder
![]() |
|
#6
|
||||
|
||||
|
Quote:
"Option -Indexes" in .htaccess
__________________
And you know I mean that. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > phpdev |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|