Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-01-2003, 11:24 AM   #1
Registered: Mar 2003
Location: Houston, TX
Distribution: RedHat 8.0
Posts: 79

Rep: Reputation: 15
Apache alias' getting an 403 Forbid error!

My server's default html directory is "/var/www/html' but I want to post my /home/flash section up there so I can type '' and there it'll be... Easy right? So I go into my apache.conf and I add

Alias /flash/ /home/flash/

But when I type '' I get...

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

I have tried chmod's 755 775 and 777 but still haven't got it to work? Can anyone help me?

Old 08-01-2003, 11:53 AM   #2
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
By default, the Apache configuration is set up to only allow access to files and directories under the DocumentRoot. You need to add another <Directory> section to specify the access rules for your /home/flash directory, like this:

<Directory /home/flash>
Order allow,deny
Allow from all

You can, of course, put any other restrictions you want on that directory in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 403 error with Mandrake 10.1 MooCows Linux - Networking 15 03-19-2005 04:50 PM
apache error, 403 forbidden afrodocter Linux - Software 6 08-09-2004 08:35 PM
Apache 403 Error?? jlsain Linux - Software 4 05-08-2004 03:45 PM
Apache 403 error with Mandrake 9.0 Skywolf Linux - Newbie 11 07-15-2003 07:46 AM
apache 403 error forbidden? bulliver Linux - General 4 01-31-2003 07:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration