The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Slackware: httpd iBot Security Advisories (RSS) 0 08-03-2009 01:15 PM
httpd problem or something else c0mrade Web Programming, Web 2.0 and Mashups 6 01-14-2009 08:06 AM
Error when compile httpd 2.2.8 on AIX 5.2 aldowsary AIX 7 02-13-2008 06:21 PM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 07:58 AM
/var/log/httpd/access_log eddie Security 3 10-02-2001 12:52 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
dplinux dplinux is offline
Registered User
  
 

Join Date: May 2009
Location: Irving,TX
Posts: 30
httpd : You don't have permission

i have httpd installed on RHEL5 webserver

but i have linked

Code:
#ln -s /rhelREPO /var/www/html/rhel5
/rhelREPO contains all 5cds of RHEL and it is a mount of /dev/sdb1

ip: 192.168.1.133 :works /var/www/html/index.html content is in browser
ip: 192.168.1.133/rhel5 :does not work /var/www/html/rhel5/
Forbidden

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

i have changed
Code:
#/etc/httpd/conf/httpd.conf

</directory />

  Options Indexes FollowSymLinks    # i added Indexes
  AllowOverride None
   
 # i added next two line thinking it will work since the /rhelREPO is in / (root)

  Order allow,deny
  Allow from all

</Directory >

</directory "/var/www/html">

  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all
  
</Directory >

why is the directory not being indexed...

Last edited by pludi; 2 Weeks Ago at 02:14 AM.. Reason: code tags, please...
  #2 (permalink)  
Old 2 Weeks Ago
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,839
First, either you made some mistakes when posting that excerpt from your httpd.conf, as you only have closing tags for the Directory directive, but no opening tags.

Seconds, in order for the web server to be able to access /rhelREPO, it needs the appropriate rights on that directory (at least read, and maybe execute).
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0