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
-1
View File
@@ -1 +0,0 @@
php_value include_path '../include'
+1
View File
@@ -0,0 +1 @@
Deny from all
+10
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
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()
-1
View File
@@ -1 +0,0 @@
php_value include_path '../include'
-4
View File
@@ -1,4 +0,0 @@
<Files "index.html">
Order Allow,Deny
Deny from all
</Files>
-1
View File
@@ -1 +0,0 @@
php_value include_path '../include'
+1
View File
@@ -0,0 +1 @@
Deny from all