no .htaccess support, no docroot access
I want to try Vork, but my organization doesn't allow .htaccess files in users' directories and we don't have access to the servers' docroot.
What I can do is this:
In my $HOME/Public/html directory, I can make as many files and subdirectories with HTML files and PHP apps in them.
I access the web sites I create in my home directory with a URL like:
http://www-personal.foobar.org/~myusername/[rest_of_the_path_here]
If I install a new site in a directory called $HOME/Public/html/vorktest (which I did), I would access it with the URL:
http://www-personal.foobar.org/~myusername/vorktest/
/>
Which doesn't work at all. I get errors that things like "/usr/share/apache2/htdocs/default/mvc/views/error/missingView" aren't in the PHP include path of ".:/usr/lib/php".
How should I go about making this work?
What I can do is this:
In my $HOME/Public/html directory, I can make as many files and subdirectories with HTML files and PHP apps in them.
I access the web sites I create in my home directory with a URL like:
http://www-personal.foobar.org/~myusername/[rest_of_the_path_here]
If I install a new site in a directory called $HOME/Public/html/vorktest (which I did), I would access it with the URL:
http://www-personal.foobar.org/~myusername/vorktest/
/>
Which doesn't work at all. I get errors that things like "/usr/share/apache2/htdocs/default/mvc/views/error/missingView" aren't in the PHP include path of ".:/usr/lib/php".
How should I go about making this work?
Posted Mar. 3, 2011 by Lecna Solan
Hi Lecna,
Without .htaccess support you will need to configure all requests to point to the /vork file for all occassions when there is not an exact file-match existing within the Vork /webroot folder.
Dropping it into http://www-personal.foobar.org/~myusername/vorktest/ should work just fine but you will need to create an appController to re-calibrate the controller/action/params to the skip the first two segments. I can gladly help you with this once you solve the prerequisite issue of the absence of .htaccess support.
Without .htaccess support you will need to configure all requests to point to the /vork file for all occassions when there is not an exact file-match existing within the Vork /webroot folder.
Dropping it into http://www-personal.foobar.org/~myusername/vorktest/ should work just fine but you will need to create an appController to re-calibrate the controller/action/params to the skip the first two segments. I can gladly help you with this once you solve the prerequisite issue of the absence of .htaccess support.
Posted Mar. 16, 2011 by Eric David