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

cannot setup vhost to /public #44

Open
redteaclub opened this issue Oct 21, 2019 · 2 comments
Open

cannot setup vhost to /public #44

redteaclub opened this issue Oct 21, 2019 · 2 comments

Comments

@redteaclub
Copy link

redteaclub commented Oct 21, 2019

My webhosting company doesn't allow me to set vhost.

I just can upload the files to "public_html"

I try to setup the following .htaccess at public_html folder.
It shows page not found.

But I can access the page via http://www.abc.com/public/.

My web hosting server works fine for Mini1 for the following .htaccess
RewriteEngine on
RewriteRule ^(.*) public/$1 [L]

It does not work for Mini2

@panique
Copy link
Owner

panique commented Oct 21, 2019

hi, if you hoster doesnt allow vhost, then it's a very very bad or basic one :)
"public_html" looks like super-oldschool web hosting to me, this is not what you need here. Try to get a real server, it's super cheap and easy to setup these days.

@redteaclub
Copy link
Author

redteaclub commented Oct 22, 2019

Yes, I use this hoster over 10 years. I am lazy to move all applications to Cloud platform. But thanks for your advice. I try to use mini3 :)

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

2 participants