Hello,

I'm interested what would be recommended way to configure my desktop
machine as localhost for web (PHP) development?

I've few entries like:

127.0.0.1 foo.local bar.local

in my /etc/hosts in order to be able to access development sites via
aliases, e.g. http://foo.local/

Moreover, I'd like to work on the sites under my regular user account
using my uid/gid and keep the development under VCS.

I admit I'm not overly familiar with Apache2 setup and certainly not on
Fedora (on Debian it is configured a bit different) to which I recently
migrated.

As a temporary workaround to make it somehow work I configured Apache to
run under my uid/gid, put my foo/bar sites under /var/www/html as
VirtualHosts, chown-ed them as uid/gid and chmod-ed to 775.

Finally, I symlinked them to ~/prj/www/{foo,bar}...

I have feeling it's pretty ugly setup, so I'm humbly looking for some
improvement tips how to configure Apache+PHP for working on several
web sites on localhost machine?


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by
his eternal enemy in the form of lust, which is never satisfied and
which burns like fire.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to