logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Fw: Apache::GD::Thumbnail Question: msg#00517

Subject: Fw: Apache::GD::Thumbnail Question
Forgive my use of the list if this is a tad OT - but I seem to not be able
to contact Steven directly all of the sudden (my ISP got but on a RBL, I
think, and it will take them another bit to get off - that's why it took so
long, Steven)

 Issac

> > On Tue, 2003-03-25 at 00:12, Issac Goldstand wrote:
> > > ----- Original Message -----
> > ...<snip>...
> > > >From the man page:
> > > "* ThumbnailBaseDir
> > > Sets the directory that contains the images to be thumbnailed.
Defaults
> to
> > > ".." if not specified"
> > >
> > > Since the virtual directory /home/me/pics/thumbs/../ is where the
> pictures
> > > are (eg, /home/me/pics), I can use the default.
> > >
> > ...<snip>...
> > > Why don't you show me your exact configuration, and I'll see if I can
> help
> > > you out...
> > >
> > >   Issac
> > >
> >
> > ...<another snip>...
> >
> > Hey Issac,
> >
> > Ok, I've dumbed this down to the lowest common denominator ( in this
> > case, I qualify as this ). In my httpd.conf I have the following lines:
> >
> > Alias /pics/ "/data/httpd/htdocs/image1/pics/"
> > <Directory "/data/httpd/htdocs/image1/pics">
> > Order allow,deny
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > </Directory>
>
> > <Location /*/pics/thumbs>
> > SetHandler perl-handler
> > PerlHandler Apache::GD::Thumbnail
> > PerlSetVar ThumbnailMaxSize 75
> > </Location>

 Why are you using /image1/pics/ for the thumbnails and /pics/ for the
 pictures?
 I would use: <Location /pics/thumbs> for the location block and then <IMG
 SRC="/pics/tumbs/roses.jpg"/> in the HTML.  See if that helps matters...

> > In my script source I have the following line:
> >
> > $r->print ('<P><A href="/pics/roses1.jpg"><IMG
> > src="/image1/pics/thumbs/roses.jpg"></A>
> >
> > I have tried this with the PerlSetVar ThumbnailBaseDir set to the
> > Location,

 No  - ThumbnailBaseDir, would you want to set it, should be set to
 "/data/httpd/htdocs/image1/pics/"

> > with PerlModule Apache::GD::Thumbnail

 you still need this (or "use Apache::GD::Thumbnail;" in mod_perl_start.pl)

> >, with the OBJECT tag
> > instead of the IMG tag

 no - you want IMG

> >and they all yield the same 404 Not Found error.
> >
> > At this point I think that I'm probably missing something really stupid,
> > considering I am following the man page to the letter. The only thing
> > missing from the man page is any example of HTML/script usage but that
> > looks to me as really basic - access the URL and the handler takes over.
> >
> > Any suggestions would be appreciated.
> >
> > Steve
> > --
> > Steven A. Adams <stevea@xxxxxxxxxxxxx>
> >
>




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe