[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] {Disarmed} RE: {Disarmed} {Disarmed} Re: {Disarmed} {Disarmed} RE: {Disarmed} {Disarmed} Httpd forbidden error



I would guess either httpd conf problem or permissions.

Is httpd running as eprints.eprints?

Mark

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of ILINA SYAZWANI BINTI MUSA
Sent: Monday, 10 November 2014 6:20 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: {Disarmed} [EP-tech] {Disarmed} Re: {Disarmed} {Disarmed} RE: {Disarmed} {Disarmed} Httpd forbidden error

I already set SELinux to 'permissive' and restart the htttpd service. My localhost still shows the same result.

On Thu, Oct 9, 2014 at 7:32 AM, Mark Gregson <mark.gregson at qut.edu.au<mailto:mark.gregson at qut.edu.au>> wrote:
Is SELinux is running in enforcing mode?  I usually have problems with it until I set it to permissive.

Cheers
Mark

Mark Gregson | Applications and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782<tel:%2B61%207%203138%203782> | Web: http://eprints.qut.edu.au/<http://www.qut.edu.au/>
ABN: 83 791 724 622
CRICOS No: 00213J



From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>] On Behalf Of ILINA SYAZWANI BINTI MUSA
Sent: Wednesday, 8 October 2014 4:56 PM
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: {Disarmed} [EP-tech] {Disarmed} Httpd forbidden error

HI all,
Currently I?m using Fedora 18 and I downloaded eprints-3.3.12. I installed eprints, but it cannot be displayed on the browser. It shows "You don't have permission to access / on this server". I even cannot open eprints by using localhost.

The eprints3 folder is owned by user 'eprints', group 'eprints'. I already commented all lines in welcome.conf

Error log shows
EPrints Warning! 'myrepoid' is configured for port 80 but Apache does not have NameVirtualHosts configured for that port.
[authz_core:error] [pid 15124] [client MailScanner warning: numerical links are often malicious: MailScanner warning: numerical links are often malicious: MailScanner warning: numerical links are often malicious: MailScanner warning: numerical links are often malicious: MailScanner warning: numerical links are often malicious: MailScanner warning: numerical links are often malicious: 202.185.96.175:56132<http://202.185.96.175:56132>] AH01630: client denied by server configuration: /opt/eprints3/archives/myrepoid/html/en/index.html


I put "NameVirtualHost *:80" line in myrepoid.conf. In that file, I also added the <Directory> code  inside <VirtualHost>  code as suggested in http://www.eprints.org/tech.php/thread-2748.html.

<Directory ?/opt/eprints3?>
Order allow,deny
 Allow from all
</Directory>


In etc/httpd/conf/httpd.conf, I added 'Listen 443' to allow HTTPS
Listen 80
#for HTTPS
Listen 443

I run ./generate_apacheconf myrepoid, but it says 'No files were changed'. I do not receive the 'namevirtualhost' error anymore, but eprints is still not working.

Any help would be appreciated.



--
Ilina Syazwani Musa (ISM)
Librarian,
Information System Division,
Central Library,
University of Malaya,
50603 Lembah Pantai,
Kuala Lumpur.
Tel : +603-7967 3296<tel:%2B603-7967%203296>
E-mail: ilina at um.edu.my<mailto:ilina at um.edu.my>

" PENAFIAN: E-mel ini dan apa-apa fail yang dikepilkan bersamanya ("Mesej") adalah ditujukan hanya untuk kegunaan penerima(-penerima) yang termaklum di atas dan mungkin mengandungi maklumat sulit. Anda dengan ini dimaklumkan bahawa mengambil apa jua tindakan bersandarkan kepada, membuat penilaian, mengulang hantar, menghebah, mengedar, mencetak, atau menyalin Mesej ini atau sebahagian daripadanya oleh sesiapa selain daripada penerima(-penerima) yang termaklum di atas adalah dilarang. Jika anda telah menerima Mesej ini kerana kesilapan, anda mesti menghapuskan Mesej ini dengan segera dan memaklumkan kepada penghantar Mesej ini menerusi balasan e-mel. Pendapat-pendapat, rumusan-rumusan, dan sebarang maklumat lain di dalam Mesej ini yang tidak berkait dengan urusan rasmi Universiti Malaya adalah difahami sebagai bukan dikeluar atau diperakui oleh mana-mana pihak yang disebut.

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 confidential information. You are hereby notified that the taking of any action in reliance upon, or any review, retransmission, dissemination, distribution, printing or copying of this Message or any part thereof by anyone other than the intended recipient(s) is strictly prohibited. If you have received this Message in error, you should delete this Message immediately and advise the sender by return e-mail. Opinions, conclusions and other information in this Message that do not relate to the official business of University of Malaya shall be understood as neither given nor endorsed by any of the forementioned. "

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/



--
Ilina Syazwani Musa (ISM)
Librarian,
Information System Division,
Central Library,
University of Malaya,
50603 Lembah Pantai,
Kuala Lumpur.
Tel : +603-7967 3296
E-mail: ilina at um.edu.my<mailto:ilina at um.edu.my>

" PENAFIAN: E-mel ini dan apa-apa fail yang dikepilkan bersamanya ("Mesej") adalah ditujukan hanya untuk kegunaan penerima(-penerima) yang termaklum di atas dan mungkin mengandungi maklumat sulit. Anda dengan ini dimaklumkan bahawa mengambil apa jua tindakan bersandarkan kepada, membuat penilaian, mengulang hantar, menghebah, mengedar, mencetak, atau menyalin Mesej ini atau sebahagian daripadanya oleh sesiapa selain daripada penerima(-penerima) yang termaklum di atas adalah dilarang. Jika anda telah menerima Mesej ini kerana kesilapan, anda mesti menghapuskan Mesej ini dengan segera dan memaklumkan kepada penghantar Mesej ini menerusi balasan e-mel. Pendapat-pendapat, rumusan-rumusan, dan sebarang maklumat lain di dalam Mesej ini yang tidak berkait dengan urusan rasmi Universiti Malaya adalah difahami sebagai bukan dikeluar atau diperakui oleh mana-mana pihak yang disebut.

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 confidential information. You are hereby notified that the taking of any action in reliance upon, or any review, retransmission, dissemination, distribution, printing or copying of this Message or any part thereof by anyone other than the intended recipient(s) is strictly prohibited. If you have received this Message in error, you should delete this Message immediately and advise the sender by return e-mail. Opinions, conclusions and other information in this Message that do not relate to the official business of University of Malaya shall be understood as neither given nor endorsed by any of the forementioned. "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20141110/04bbd224/attachment-0001.html