2000-06-22 09:14:16 +00:00
|
|
|
|
2000-05-28 09:23:56 +00:00
|
|
|
#
|
2000-06-22 09:14:16 +00:00
|
|
|
# Apache/PHP/site settings:
|
2000-05-28 09:23:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Archive feature:
|
2000-05-29 09:46:03 +00:00
|
|
|
<Files archive>
|
|
|
|
ForceType application/x-httpd-php
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
# Protect .inc files:
|
|
|
|
# .inc files can be read from the web so make sure we keep it
|
|
|
|
# away from the casual prying eyes. Especially `config.inc'.
|
|
|
|
<Files *.inc>
|
2000-05-29 09:46:35 +00:00
|
|
|
order deny,allow
|
2000-05-29 09:46:03 +00:00
|
|
|
deny from all
|
|
|
|
</Files>
|
2000-05-28 09:23:56 +00:00
|
|
|
|
2000-06-01 13:33:19 +00:00
|
|
|
# Protect CVS directories:
|
|
|
|
<Files *CVS>
|
|
|
|
order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
|
2000-06-05 16:10:47 +00:00
|
|
|
# Protect theme directories:
|
|
|
|
<Files *themes>
|
|
|
|
order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
|
2000-05-28 09:23:56 +00:00
|
|
|
# Customized server error messages:
|
|
|
|
ErrorDocument 400 /error.php
|
|
|
|
ErrorDocument 402 /error.php
|
|
|
|
ErrorDocument 403 /error.php
|
|
|
|
ErrorDocument 404 /error.php
|
|
|
|
ErrorDocument 500 /error.php
|
2000-06-03 09:20:45 +00:00
|
|
|
|
2000-06-22 09:14:16 +00:00
|
|
|
# Overload PHP variables:
|
|
|
|
<IfModule mod_php4.c>
|
Over the last 2 days I redid and reorganized an afwul lot of code and
made quite a lot of additions. The most remarkable addition is the
diary server, which I slapped together in less then 40 minutes. Most
of the other changes are however `unvisible' for the user but add much
value to a better maintainability from a developer's objective. Like
always, I fixed quite a number of small bugs that creeped into the code
so we should have a bigger, better and more stable drop.org.
Unfortunatly, some theme update _are_ required:
REQUIRED THEME UPDATES:
=======================
* use format_username() where usernames are used
* use format_date() where timestamps/dates are used
* use format_email() where e-mail addresses are displayed
* use format_url() where url are displayed
* replace 'formatTimestamp' with format_date
* replace 'morelink_*' with 'display_morelink'
[most of these functions are in function.inc or template.inc]
___PLEASE___ (<- this should get your attention ;) update your themes
as soon as possible - it only takes 30 min. to get in sync with the
other themes. Don't start whining about the fact you don't know what
to change ... either eat the source cookie, or ask me to elaborate on
a few changes. Just let me know what's puzzling you and I'll try to
help you out!
TODO LIST FOR NEXT WEEK
=======================
* Add checks for max. text length in textarea's? Is there an HMTL
attribute for this or ...?
* Comment moderation + mojo
* Edit/admin user accounts: block, delete, change permissions, ...
* E-mail password, change password, change e-mail address -> extra
checks and routines to validate such `special' changes.
* Input checking - input filter: bad words, html tags, ...
2000-09-11 07:45:22 +00:00
|
|
|
php_value track_vars On
|
|
|
|
php_value php_register_globals On
|
2000-06-22 09:14:16 +00:00
|
|
|
php_value magic_quotes_gpc On
|
|
|
|
php_value magic_quotes_runtime Off
|
|
|
|
php_value magic_quotes_sybase Off
|
Over the last 2 days I redid and reorganized an afwul lot of code and
made quite a lot of additions. The most remarkable addition is the
diary server, which I slapped together in less then 40 minutes. Most
of the other changes are however `unvisible' for the user but add much
value to a better maintainability from a developer's objective. Like
always, I fixed quite a number of small bugs that creeped into the code
so we should have a bigger, better and more stable drop.org.
Unfortunatly, some theme update _are_ required:
REQUIRED THEME UPDATES:
=======================
* use format_username() where usernames are used
* use format_date() where timestamps/dates are used
* use format_email() where e-mail addresses are displayed
* use format_url() where url are displayed
* replace 'formatTimestamp' with format_date
* replace 'morelink_*' with 'display_morelink'
[most of these functions are in function.inc or template.inc]
___PLEASE___ (<- this should get your attention ;) update your themes
as soon as possible - it only takes 30 min. to get in sync with the
other themes. Don't start whining about the fact you don't know what
to change ... either eat the source cookie, or ask me to elaborate on
a few changes. Just let me know what's puzzling you and I'll try to
help you out!
TODO LIST FOR NEXT WEEK
=======================
* Add checks for max. text length in textarea's? Is there an HMTL
attribute for this or ...?
* Comment moderation + mojo
* Edit/admin user accounts: block, delete, change permissions, ...
* E-mail password, change password, change e-mail address -> extra
checks and routines to validate such `special' changes.
* Input checking - input filter: bad words, html tags, ...
2000-09-11 07:45:22 +00:00
|
|
|
php_value session.auto_start 1
|
2000-06-22 09:14:16 +00:00
|
|
|
php_value session.cookie_lifetime 1728000
|
|
|
|
php_value session.gc_maxlifetime 1728000
|
|
|
|
php_value session.name DROPID
|
|
|
|
</IfModule>
|