Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.htaccess instead of vhost #1930

Closed
knodderdachs opened this issue Apr 15, 2016 · 3 comments
Closed

.htaccess instead of vhost #1930

knodderdachs opened this issue Apr 15, 2016 · 3 comments

Comments

@knodderdachs
Copy link

Hi,

I'm trying to install wallabag v2 on my shared hosting. Unfortunately, I'm not allowed to change the apache config (vhost). I'm forced to use .htaccess.

What do I have to put in the .htaccess file to make wallabag work?

Greetings,
Torsten

@tcitworld
Copy link
Member

@schiesbn said on Gitter :

seems like adding this to the .htaccess of my web root works: RewriteRule ^$ /web [L]

@knodderdachs
Copy link
Author

OK, thanks.

Now, the error.log of the webserver shows the following errors:

[Sat Apr 16 08:30:09 2016] [warn] [client 109.75.87.252] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message '[WARNING 1549] failed to load external entity "file:////var/www/virtual/XXX/XXX/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd" (in n/a - line 0, column 0)

[Sat Apr 16 08:30:09 2016] [warn] [client 109.75.87.252] mod_fcgid: stderr: [WARNING 3084] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'file:////var/www/virtual/XXX/XXX/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd'. Skipping the import. (in in_memory_buffer - line 8, column 0)

[Sat Apr 16 08:30:09 2016] [warn] [client 109.75.87.252] mod_fcgid: stderr: [ERROR 1845] Element '{http://symfony.com/schema/dic/services}container': No matching global declaration available for the validation root. (in /var/www/virtual/XXX/XXX/web/ - line 5, column 0)' in /var/www/virtual/XXX/XXX/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:96

[Sat Apr 16 08:30:09 2016] [warn] [client 109.75.87.252] mod_fcgid: stderr: Stack trace:

[Sat Apr 16 08:30:09 2016] [warn] [client 109.75.87.252] mod_fcgid: stderr: #0 /var/www/virtual/k in /var/www/virtual/XXX/XXX/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php on line 263

'XXX' is the path to the wallabag directory.

@nicosomb
Copy link
Member

I think I can close this issue, because you opened #1952.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants