On Sun, May 28, 2017 at 08:13:13PM -0400, tec...@protonmail.com wrote:
> I need to use the regular /var/www/htdocs for my site
>
> Such a strange issue

I think that "need" of yours is the strangest issue here. It is /var/www
that becomes the root directory when httpd/nginx/apache is chroot'ed,
not htdocs. The latter is just an arbitrary location.

You should be able to:

# cp -Rp /var/www/htdocs /var/www/mysite

Then replace all [relevant] occurences of "htdocs" to "mysite" in
/etc/httpd.conf and in your files. It your site doesn't survive this,
you're probably having other problems than file permissions.

Show us your /etc/httpd.conf as a minimium.

> Probably (not sure because you didn't care to say which version you're
> running) because you upgraded to a newer snapshots. Use another
> directory (one that doesn't come in the sets) if you want to do that.

--
Erling Westenvik

Reply via email to