# About the pyscript example Simple Clock

**URL:** <https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892>\
**Category:** PyScript\
**Created:** [November 20, 2023, 9:06am UTC](https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892 "2023-11-20T09:06:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![digifusion](https://avatars.discourse-cdn.com/v4/letter/d/00a5b5/32.png) [@digifusion](https://forum.anaconda.com/u/digifusion)\
**Post date:** [November 20, 2023, 9:06am UTC](https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892/1 "2023-11-20T09:06:15Z")

</div>

When I download the pyscript example (simple\_clock.html) to my PC and run it, it runs. However, when I upload it (simple\_clock.html, utils.py ) to the my server, I get an error as below.

(PY0500): Fetching from URL ./utils.py failed with error 500 (Internal Server Error). Are your filename and path correct?

Why does not work on my server?

simple\_clock.html  
[https://pyscript.net/examples/simple\_clock.html](https://pyscript.net/examples/simple_clock.html)

utils.py  
[https://pyscript.net/examples/utils.py](https://pyscript.net/examples/utils.py)

---

<div class="post-metadata">

**Author:** ![digifusion](https://avatars.discourse-cdn.com/v4/letter/d/00a5b5/32.png) [@digifusion](https://forum.anaconda.com/u/digifusion)\
**Post date:** [November 22, 2023, 11:12pm UTC](https://forum.anaconda.com/t/about-the-pyscript-example-simple-clock/64892/2 "2023-11-22T23:12:56Z")

</div>

It works after change the Server setting.

Web server (centos 7 )

/etc/httpd/conf/httpd.conf

01:

\<Directory “/var/www/html”\>

AllowOverride None

02:

#AddHandler cgi-script .cgi .py
