Removed useless .htaccess
This commit is contained in:
parent
8f923cb757
commit
7bcd8e7e23
|
@ -1 +0,0 @@
|
|||
php_value include_path '../include'
|
|
@ -0,0 +1 @@
|
|||
Deny from all
|
|
@ -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>
|
|
@ -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 +0,0 @@
|
|||
php_value include_path '../include'
|
|
@ -1,4 +0,0 @@
|
|||
<Files "index.html">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</Files>
|
|
@ -1 +0,0 @@
|
|||
php_value include_path '../include'
|
|
@ -0,0 +1 @@
|
|||
Deny from all
|
Loading…
Reference in New Issue