EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00268
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Subdirectory that runs PHP Scripts
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Subdirectory that runs PHP Scripts
- From: Sheraaz Buksh <sheraaz.a.buksh@usp.ac.fj>
- Date: Thu, 22 Mar 2012 20:19:05 +0000
Hi I tried the suggestion but it didn’t work out. Any other ideas?? (By the way I am running Eprints 3.2). Regards Sheraaz From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Sebastien Francois On 21/03/12 23:47, Sheraaz Buksh wrote: Hi All I am trying to add a subdirectory to server php scripts based on the instructions here
http://wiki.eprints.org/w/How_to_add_a_subdirectory_that_runs_PHP_scripts . However I have not been successful in doing so. I get an error as follows: File does not exist: /opt/eprints3/archives/resrepo1/html/en/stats, referer:
http://repository.xx.xx.xx/stats/ . I have created the subdirectory in my /var/www/html folder. And I have configured my apachevhost.conf as follows: Alias /stats/ /var/www/html/stats/ <Location "/stats"> AddHandler php5-script php htm html DirectoryIndex index.html </Location> <Directory "/var/www/html/stats"> Order allow,deny Allow from all </Directory> I am not sure why stats folder is being read from here /opt/eprints3/archives/resrepo1/html/en/ when I have an Alias set to read the folder from /var/www/html/stats/.
|
- References:
- [EP-tech] Subdirectory that runs PHP Scripts
- From: Sheraaz Buksh <sheraaz.a.buksh@usp.ac.fj>
- [EP-tech] Re: Subdirectory that runs PHP Scripts
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Subdirectory that runs PHP Scripts
- Prev by Date: [EP-tech] Re: File icons in 3.3?
- Next by Date: [EP-tech] Re: Subdirectory that runs PHP Scripts
- Previous by thread: [EP-tech] Re: Subdirectory that runs PHP Scripts
- Next by thread: [EP-tech] Re: Subdirectory that runs PHP Scripts
- Index(es):