Kevin Ballard
kevin at sb.org
Fri Dec 19 15:21:37 EST 2003
On Dec 19, 2003, at 6:31 AM, fowlertrainer at anonym.hu wrote: > a.) So I want to remove the .py from main.py file in the > browser, if possible. Define main.py as the handler for main. > b.) I want to eliminate or redirect the main.pyc file, what is > created by python in everytime. > This file is downloadable from browser, and if any users > have some python experience, or an decompiler, that these > persons can get informations from my site ! Put this in your httpd.conf <Files ~ "\.pyc$"> Order allow,deny Deny from all </Files> That blocks access to files ending in .pyc -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org
|