English
Ask Your Question
0

How to make Dropbox files accessible from httpd (apache)

asked 2012-09-17 16:36:34 +0000

Almino gravatar image

I have Dropbox installed (/home/almino/Dropbox/). My projects are located in /home/almino/Dropbox/Projects/. I want to create an Apache alias for each project.

Example: Alias /project1 /home/almino/Dropbox/project1/

It doesn't work. It always say: 403 Forbidden.

I tried to add apache user to my group. I also tried adding myself to the apache group and nothing changed.

How am I supposed to get these alias working?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-09-17 18:35:13 +0000

Akshay gravatar image

updated 2012-09-17 18:37:57 +0000

403 Forbidden means: The Web server (running the Web site) thinks that the HTTP data stream sent by the client (e.g. your Web browser or our CheckUpDown robot) was correct, but access to the resource identified by the URL is forbidden for some reason. (Last updated: March 2012).

This indicates a fundamental access problem, which may be difficult to resolve because the HTTP protocol allows the Web server to give this response without providing any reason at all. So the 403 error is equivalent to a blanket 'NO' by the Web server - with no further discussion allowed.

By far the most common reason for this error is that directory browsing is forbidden for the Web site. Most Web sites want you to navigate using the URLs in the Web pages for that site. They do not often allow you to browse the file directory structure of the site. For example try the following URL (then hit the 'Back' button in your browser to return to this page): for more http://www.checkupdown.com/status/E403.html

Please check your Directory permissions and SE Linux policy for that Directory

edit flag offensive delete link more

Comments

no giving 777 is not good please give the permission with reference to your /var/www/html and the link i gave you please read it, Directory browsing is disabled in web browsers so i guess you need to turn it on or create the hyperlinks to navigate the files

Akshay ( 2012-09-19 03:59:10 +0000 )edit
0

answered 2012-10-05 19:32:09 +0000

Almino gravatar image

The best way is to set up Apache Userdir with SELinux.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-09-17 16:36:34 +0000

Seen: 910 times

Last updated: Oct 05 '12