adding content for .htaccess; important because of include

includes/general.php
This commit is contained in:
Karl-Heinz Gödderz (GuKKDevel) 2018-12-08 11:00:01 +01:00
parent 6d09afec55
commit b51f75f7c9
2 changed files with 11 additions and 34 deletions

View file

@ -68,39 +68,6 @@ Directory :file:`includes`
includes/lib/l10n.php
includes/lib/check_weak_key.php
includes/notary.inc.php
includes/general.php
includes/account_stuff.php
includes/notary.inc.php
SOME__sanitizeHTML
.. ?-check_email
.. ?-make_hash
includes/mysql.php__sendmail
.. ?-account_email_delete
.. ?-checkWeakKeySPKAC
.. ?-write_user_agreement
.. ?-generatecertpath
.. ?-checkWeakKeyCSR
.. ?-waitForResult
.. ?-checkEmail
.. ?-account_domain_delete
.. ?-clean_csr
.. ?-extractit
.. ?-getcn
.. ?-getalt
.. ?-HashAlgorithms::clean_csr
.. ?-checkWeakKeyX509
.. ?-unset
.. ?-valid_ticket_number
.. ?-write_se_log
.. ?-revoke_all_private_cert
.. ?-runCommand
.. ?-check_client_cert_running
.. ?-check_server_cert_running
.. ?-check_gpg_cert_running
.. ?-check_is_orgadmin
.. ?-account_delete
.. php:function:: buildSubject(array $domains, $include_xmpp_addr = true)

View file

@ -42,6 +42,16 @@ This contains the PHP code that is the entry point to the application:
.. sourcefile:: www/help.php
.. sourcefile:: www/.htaccess
:uses:
includes/general.php
:links:
http://www.cacert.org/policy/CertificationPracticeStatement.html
The file :file:`www/.htaccess` is the file that contains some statements to control the whole process of the website.
It contains a general include-statement for including :file:`ìncludes/general.php` (auto_prepend_file /www/includes/general.php). Therefor a 'include(../includes/general.php) is not needed.
Also a permanent redirection is made from :file:`/cps.php` to <http://www.cacert.org/policy/CertificationPracticeStatement.html> (RedirectPermanent /cps.php http://www.cacert.org/policy/CertificationPracticeStatement.html).
.. sourcefile:: www/index.php
:uses: