Juray:1356255246 wrote
userewrite=2 (dokuwiki) with remove htaccess at all:
...
_POST:Array ( )
There is my inaccurate.
I only remove lines with rewrite rules.
After delete .htaccess userewrite=2 works - _POST received properly by doku.php (and main.php)
Then I create new .htaccess only with only access rules from .htaccess.dist:
<Files ~ "^([\._]ht|README$|VERSION$|COPYING$)">
Order allow,deny
Deny from all
Satisfy All
</Files>
and with userewrite=2 _POST empty again in dokuwiki php files!
I create simply test php file:
<?php
echo '<body>';
echo 'test.php started <br>';
echo '<b>_GET:</b>'.print_r($_GET, 1).'<br>';
echo '<b>_POST:</b>'.print_r($_POST, 1).'<br>';
echo '<b>TEST</b><br>';
echo '<form id="f1" method="post" action="" accept-charset=" utf-8"><div class="no">';
echo '<input type="text" id="i1" name="u" value="" class="edit" />';
echo '<input type="submit" value="Send"/>';
echo '</form >';
- this is work fine.
Of course it not depend on dokuwiki option (userewrite), but what a relation between such access rules and dokuwiki rewrites ???
I'm very discouraged with this.
Update:
I experimented with .htaccess
with userewrite=2
remove access rules - not work.
remove any commented line, so .htaccess is empty - not work.
delete .htacccess at all - not work.
set userewrite to 0 - work
set userewrite to 2 - work
create empty .htaccess - work
add access rules - work!
set userewrite to 1 and add rewrite rules - not work
set userewrite to 2 and remove rewrite rules - not work
set userewrite to 0 - work
set userewrite to 2 - work
(after every change I beginned from site main page, purge cache and click "login" - then enter form)
I think I need to view server logs. I wrote ask to admin and wait for reaction.