Advertisement

04.02.2008 at 04:45PM PDT, ID: 23291304
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Apache cannot display pictures from mounted samba share

Asked by VRBones in Apache Web Server, Gentoo Linux, Samba File Server

Tags: , , , ,

We have a reorganised our internal network and rebuilt a gentoo webserver for intranet use.  Part of the web service is a lookup on students results along with a picture of the student. The students results are brought in from MSSQL and are working fine, as are the student's details. However the picture is not being displayed.

The picture is located on a windows server 2003 box with a network share. This share is mounted to the gentoo box using cifs (mount command listed below) to a standard mount point. The directory that has the photos is then symlinked to an area inside the web directroy.

I can browse the symlinked directory through the shell as well as through a web browser via apache's default directory display. I can see all the photos listed as well as directories and other files. If I click on a photo I immediately get a broken photo icon being displayed. If I click on a html or PHP filie it runs fine from the symlinked directroy.

I can copy a file out of the symlinked directroy into the directory above it and the picture displays correctly, so it's not the picture. I can copy working pictures into the symlinked directory and now they fail to display. Text and other working code copies across the symlinked directory fine and works both inside and outside the symlinked directroy. I can create PHP code from both the windows server and the unix server over the symlink and they all display correctly.  

Apache's config is standard. No .htaccess files exist (yet) on the main portal.
 
This leads me to believe that the mount and symlink are all working fine from the gentoo box, however pulling binary data across the symlinked network share fails. Any ideas?

As a stopgap I've copied the pictures across into the directory and dumped the symlink. All works fine apart from not being constantly up-to-date.
  Start Free Trial
1:
2:
3:
4:
5:
6:
To mount the photo share:
# mount -t cifs -o username=linuxuser,password=XXXXXX "//staff-fs01.staff.stlukes.qld.edu.au/bm$" /mnt/staff-f
s01/badgemaker/
 
To link it to the web directory:
# ln -s /mnt/staff-fs01/badgemaker/Projects/STUDENT\ ID\ CARD/IMAGES/PHOTO/0 /var/www/portal/images/profile_pics
[+][-]04.03.2008 at 12:34AM PDT, ID: 21270317

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 04:24PM PDT, ID: 21277867

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 12:33AM PDT, ID: 21294873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 04:03PM PDT, ID: 21301273

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.09.2008 at 02:01AM PDT, ID: 21312956

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.09.2008 at 07:26PM PDT, ID: 21321198

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.10.2008 at 03:28AM PDT, ID: 21323240

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.10.2008 at 04:26PM PDT, ID: 21330252

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 01:55PM PDT, ID: 21362786

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 05:30PM PDT, ID: 21373176

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 11:58AM PDT, ID: 21442333

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 04:46AM PDT, ID: 21622844

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 04:56AM PDT, ID: 21622900

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Gentoo Linux, Samba File Server
Tags: apache, apache, 2.2.6-r5, Gentoo system with samba (3.0.28) and access to Windows server 2003 file share, PHP 5.2.6RC1-pl1-gentoo
Sign Up Now!
Solution Provided By: maltokyo
Participating Experts: 4
Solution Grade: A
 
 
[+][-]05.27.2008 at 06:11PM PDT, ID: 21656971

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 12:28AM PDT, ID: 21658375

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628