Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6097447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:02:41+00:00 2026-05-23T13:02:41+00:00

I have some graphics files that exist within a directory that a web server

  • 0

I have some graphics files that exist within a directory that a web server is hosted from. I want to re-use those graphics files for another webservice.

I created a symbolic link as follows:

lrwxrwxrwx  1 root    root      51 Jun 30 03:47 gifs -> /var/www/vhosts/webservice/httpdocs/gifs

The gifs folder in question has the following permissions:

drwxr-xr-x  6 user2 psacln    4096 Jun  1 07:02 gifs

and a test file in there has this permission

-rw-r--r--  1 user1   psacln    1663 Jun 10 09:27 noimage.gif

So from the webservice I can view the file fine using http://www.windowsmobilesoft.net/gifs/noimage.gif

but if I use the webserver where the symbolic link is created I get a permission error

http://www.pocketpcsoft.net/gifs/noimage.gif

Forbidden

You don’t have permission to access
/gifs/noimage.gif on this server.

Apache/2.2.3 (CentOS) Server at
http://www.pocketpcsoft.net Port 80

I added apache to the psacln group but this has not made any difference.

I suspect it’s something really simple that I need to do, but I cannot think what that is, can anyone help?

Thanks,

Greg

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:02:42+00:00Added an answer on May 23, 2026 at 1:02 pm

    Its more likely that your apache instance is configured not to follow symbolic links than you have a permissions problem.

    See options +symlinks

    Note that allowing apache to read symlinks may introduce vulnerabilities in your application – better solutions are:

    • use hard links (if the vhost doc roots will stay on the same filesystem)
    • use rewrite rules to map the image URL to the file
    • use alias to map the image URL to the file
    • just copy the damn files!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the situation: We have some generic graphics code that we use for one
I have some CSS code that hides the cursor on a web page (it
I have a noobish question for any graphics programmer. I am confused how some
I have some UI in VB 2005 that looks great in XP Style, but
I have some ASP.NET web services which all share a common helper class they
We have some input data that sometimes appears with &nbsp characters on the end.
I have some kind of test data and want to create a unit test
For my current project I want to be able to load some classes from
I have some HTML and want to replace the src attributes of all the
In a PHP module, We have a few graphics made by GD that need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.