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

Django in shared hosting!! #12492

Closed
AsadullahFarooqi opened this issue Jan 21, 2018 · 3 comments
Closed

Django in shared hosting!! #12492

AsadullahFarooqi opened this issue Jan 21, 2018 · 3 comments

Comments

@AsadullahFarooqi
Copy link

AsadullahFarooqi commented Jan 21, 2018

hey guys i have the same issue but with my django app so what should i do please help
this is the code of .htaccess file

---------------------------------------------------------------------------------------------------------
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN
PassengerAppRoot "/home/dasawork/store"
PassengerBaseURI "/test"
PassengerPython "/home/dasawork/virtualenv/store/3.5/bin/python3.5"
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END
----------------------------------------------------------------------------------------------------------

it worked at night first and then in the morning it wasn't working and giving the error "/home/dasawork/public_html/test/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration". hosting providers changed my root dir name! like when it worked it was "'/newhome/dasawork/...." but on the morning it was changed to "/home/dasawork/..." so can this cause the problem ?
please help

@Findus23
Copy link
Member

I am not sure what a configuration error in the htaccess of your Django project (try to enable the module that provides the setting PassengerAppRoot) has to do with Matomo.

@Findus23
Copy link
Member

Matomo is the leading open-source analytics platform that gives you more than just powerful analytics:

from https://matomo.org/

Or in other words, Matomo is an Open Source alternative to Google Analytics.
You are currently posting in the issue tracker of Matomo, which is quite unrelated to your issue.

@mohammad-aqajani
Copy link

hey guys i have the same issue but with my django app so what should i do please help
this is the code of .htaccess file

---------------------------------------------------------------------------------------------------------
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN
PassengerAppRoot "/home/dasawork/store"
PassengerBaseURI "/test"
PassengerPython "/home/dasawork/virtualenv/store/3.5/bin/python3.5"
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END
----------------------------------------------------------------------------------------------------------

it worked at night first and then in the morning it wasn't working and giving the error "/home/dasawork/public_html/test/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration". hosting providers changed my root dir name! like when it worked it was "'/newhome/dasawork/...." but on the morning it was changed to "/home/dasawork/..." so can this cause the problem ?
please help

how did you solve this problem?

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

No branches or pull requests

3 participants