Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-07-2007, 01:22 PM   #1
Registered: Jun 2006
Distribution: Debian
Posts: 112

Rep: Reputation: 16
Displaying JPEG files within the cgi-bin folder

I've created a script to upload images and then display them as thumbnails in a HTML output.

It was working great until I moved the script to a new server.
Now the thumbnails come up as broken links and when I click on them I get an output of the file name.

I believe this is because the image files are being stored in a sub folder of the "cgi-bin". I think that on the last server I changed something in the "httpd.conf" file to allow this. But, I can't remember what.

I'm running Apache on a PCLinuxOS machine.

any help would be great.


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
JPEG library to link against for displaying images? dezert_fox Linux - Software 0 06-16-2006 10:47 AM
why can't create a folder in /usr/lib/cgi-bin adam_ant Linux - Software 2 12-07-2005 05:05 AM
displaying jpeg images Dave31836 Programming 2 01-25-2005 10:28 AM
How do i access the files in my CGI-BIN rhuser Linux - Software 2 03-04-2003 03:33 PM rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:10 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