Removed useless .htaccess

This commit is contained in:
Thomas FORGIONE 2015-04-12 21:53:06 +02:00
parent 8f923cb757
commit 7bcd8e7e23
8 changed files with 35 additions and 7 deletions

View File

@ -1 +0,0 @@
php_value include_path '../include'

1
errors/.htaccess Normal file
View File

@ -0,0 +1 @@
Deny from all

10
errors/500/index.html Normal file
View File

@ -0,0 +1,10 @@
<section>
<h2>Error 500</h2>
<p>
Wow, you crashed my website... :'(
</p>
<p>
You can go back to the <a href="/">index</a> or wherever you want... (if it works...)
</p>
#
</section>

23
errors/500/index.py Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
from webtools import Web
def main():
print('Content-type: text/html')
print()
page = Web.Element(Web.ROOT_DIR + 'templates/page.html')
head = Web.Element(Web.ROOT_DIR + 'templates/head.html')
body = Web.Element(Web.ROOT_DIR + 'templates/body.html')
content = Web.Element('index.html')
page.add_child(head)
page.add_child(body)
body.add_child(content)
page.print()
if __name__ == '__main__':
main()

View File

@ -1 +0,0 @@
php_value include_path '../include'

View File

@ -1,4 +0,0 @@
<Files "index.html">
Order Allow,Deny
Deny from all
</Files>

View File

@ -1 +0,0 @@
php_value include_path '../include'

1
templates/.htaccess Normal file
View File

@ -0,0 +1 @@
Deny from all