Dear Sir,

I used etc/apache.conf

I command: sudo ln -s /home/domjudge/domserver/etc/apache.conf /etc/httpd/conf.d/domjudge.conf
sudo apachectl graceful

When I browse: http://ipaddress --> it'OK - it shows default Page of Apache on CentOS.

But when I browse http://ipaddress/domjudge/jury -> I got error 403.

If I didn't use etc/apache.conf => When I browse http://ipaddress/domjudge/jury -> I would get error 404 - Not found

Please help me!

Best regard,
Linh

On Thu, Nov 26, 2015 at 10:32 PM, Jaap Eldering <jaap@jaapeldering.nl> wrote:
Hi Linh,

On 26-11-15 12:31, Vũ Linh Nguyễn wrote:
> Dear Sir,
>
> I just install Domjudge on a clean VPS CentOS.
>
> I installed Apache,PHP,MySQL and phpmyadmin, compilers....
>
> I run ./configure and make correctly.
>
> But now, when I browse http://ipaddress/domjudge or
> http://ipaddress/domjudge/jury.... I get error 403 Forbidden

Did you use the etc/apache.conf file to configure the webserver?

Does browsing to http://ipaddress/ work?

What is in the access/error log files of the webserver?

Best,
Jaap


> On Thu, Nov 26, 2015 at 11:39 AM, Vũ Linh Nguyễn <linhnv2110@gmail.com
> <mailto:linhnv2110@gmail.com>> wrote:
>
>     Dear Sir,
>
>     I'm installing Domjudge on CentOS 6.7
>
>     I putted domjudge on /home/......./domjudge
>
>     Then I run: ./configure --prefix=/home/....../domjudge
>     --disable-submitclient
>
>     Everything is OK.
>
>     Then I run:
>
>     make domserver && make install-domserver
>
>     ==> OK
>     make judgehost && make install-judgehost
>
>     ==> I get error: gcc -fPIE -Wl,-z,relro -Wl,-z,now  runguard.o
>     /usr/lib/libm.so   -o runguard
>     /usr/lib/libm.so: could not read symbols: File in wrong format
>     collect2: error: ld returned 1 exit status
>     make[1]: *** [runguard] Error 1
>     make[1]: Leaving directory `/home/............/domjudge/judge'
>     make: *** [judgehost] Error 1
>
>     make docs && make install-docs
>     ==> I get this:
>     make[2]: *** [install-docs] Error 1
>     make[2]: Leaving directory `/home/.............../domjudge/doc/admin'
>     make[1]: *** [install-docs] Error 1
>     make[1]: Leaving directory `/home/................/domjudge/doc'
>     make: *** [install-docs] Error 1
>
>     So when I open browser and put: http://domain/domjudge/jury --> 404
>     Not found.
>
>     I searched on my server under /home/....../domjudge
>     It has:
>
>     aclocal.m4     config.log     COPYING.BSD  judge            paths.mk
>     <http://paths.mk>     www
>     bootstrap      config.status  COPYING.MIT  lib
>      paths.mk.in <http://paths.mk.in>
>     ChangeLog      config.sub     doc          m4               README
>     CODINGSTYLE    configure      domserver    Makefile         sql
>     composer.json  configure.ac <http://configure.ac>   etc
>      Makefile.global  submit
>     config.guess   COPYING        install-sh   misc-tools       tests
>
>     Did I miss anything? Please help me!
>
>     Thanks for your support!
>
>     Best regard,
>     Linh
>




--
---------------------------------------------------------------------------------------------
Nguyễn Vũ Linh - Sói Hoang

Software/Website/Game Developer - AI, PTS, Corel, AE Designer
......................
Phone: 0963.203.813
.............................