EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09722
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- To: Eprints Tech <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Date: Fri, 7 Jun 2024 08:04:42 +0800
CAUTION: This e-mail originated outside the University of Southampton.
Dear all
I'm doing multiple repos in one host.
I replicate the flavours folder for each repo
repo1_lib
repo2_lib
Some files like icon images do not follow the correct path, and it goes to the base URL -
http://repo.uitm.edu.my/style/images/loading.gif, suppose
http://repo.uitm.edu.my/repo1/style/images/loading.gif
Now, I just installed IRStat2, and the graph is not working. It goes to the wrong URL (/cgi). I can see it from the console browser.
I see a comment in line 89 in z_irstats2.pl
# The method below is called by the /cgi/stats/* scripts which handle the delivery of stats
$c->{irstats2}->{allow} = sub {
my( $session, $priv ) = @_;
return 0 unless( defined $priv );
$c->{irstats2}->{allow} = sub {
my( $session, $priv ) = @_;
return 0 unless( defined $priv );
Can I change it to include the correct path - repo1/cgi/stats. How do I write it? Or is the any other good solution to this?
Regards
UiTM Digital Library
PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...
DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law including the Official Secrets Act 1972. READ MORE...
- Follow-Ups:
- Re: [EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- Prev by Date: RE: [EP-tech] User Roles for Admin Screen Tab
- Next by Date: Re: [EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- Previous by thread: [EP-tech] User Roles for Admin Screen Tab
- Next by thread: Re: [EP-tech] Changing path in IRStat2 for multiple repo in one vhost
- Index(es):