You are not logged in.
Hi,
I'm heaving problem with mod_rewrite for user_directories.
I'm trying to setup falcon tutorial http://docs.phalconphp.com/en/latest/re … orial.html in a user directory. (i'm assuming that .htaccess files are ok)
I followed archwiki to the latter for all configurations.
What I know. Apache reads .htaccess files correctly does what it should but than something weird happens:
error_log
[Wed Feb 04 18:23:01.090902 2015] [core:trace3] [pid 29464] request.c(238): [client ::1:59339] request authorized without authentication by access_checker_ex hook: /~wilam/tutorial/
[Wed Feb 04 18:23:01.090908 2015] [rewrite:trace3] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] strip per-dir prefix: /home/wilam/public_html/tutorial/ ->
[Wed Feb 04 18:23:01.090910 2015] [rewrite:trace3] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] applying pattern '^$' to uri ''
[Wed Feb 04 18:23:01.090916 2015] [rewrite:trace3] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] strip per-dir prefix: /home/wilam/public_html/tutorial/ ->
[Wed Feb 04 18:23:01.090917 2015] [rewrite:trace3] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] applying pattern '(.*)' to uri ''
[Wed Feb 04 18:23:01.090920 2015] [rewrite:trace2] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] rewrite '' -> 'public/'
[Wed Feb 04 18:23:01.090923 2015] [rewrite:trace3] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] add per-dir prefix: public/ -> /home/wilam/public_html/tutorial/public/
[Wed Feb 04 18:23:01.090933 2015] [rewrite:trace1] [pid 29464] mod_rewrite.c(475): [client ::1:59339] ::1 - - [localhost/sid#1837320][rid#1cf7ff0/initial] [perdir /home/wilam/public_html/tutorial/] internal redirect with /home/wilam/public_html/tutorial/public/ [INTERNA$
[Wed Feb 04 18:23:01.090951 2015] [authz_core:debug] [pid 29464] mod_authz_core.c(809): [client ::1:59339] AH01626: authorization result of Require all granted: granted
[Wed Feb 04 18:23:01.090952 2015] [authz_core:debug] [pid 29464] mod_authz_core.c(809): [client ::1:59339] AH01626: authorization result of <RequireAny>: granted
[Wed Feb 04 18:23:01.090954 2015] [core:trace3] [pid 29464] request.c(238): [client ::1:59339] request authorized without authentication by access_checker_ex hook: /home/wilam/public_html/tutorial/public/
[Wed Feb 04 18:23:01.090961 2015] [core:info] [pid 29464] [client ::1:59339] AH00128: File does not exist: /srv/http/home/wilam/public_html/tutorial/public/
Last two lines are interesting. The link after rewrite is ok:
/home/wilam/public_html/tutorial/public/
but than it tries to load and gives 404:
/srv/http/home/wilam/public_html/tutorial/public/
My userdir conf:
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory "/home/*/public_html">
AllowOverride All
Options FollowSymLinks IncludesNoExec
Require method GET POST OPTIONS
</Directory>
Can anyone maybe tell me what I am missing? I think that I tried everything but probably I'm missing something.
Offline