Re: setup for localhost web (PHP) development

2016-12-09 Thread Tim
Tim: >> Generally speaking, files to be served from /var/www/html are served as >> files owned by the author, with world-readable permissions (Apache reads >> files as "other" users. Bill Shirley: > This is insecure. If I have a local account I can copy all your code. > Or lookup your database i

Re: setup for localhost web (PHP) development

2016-12-09 Thread Bill Shirley
On 12/5/2016 4:17 PM, Tim wrote: Generally speaking, files to be served from /var/www/html are served as files owned by the author, with world-readable permissions (Apache reads files as "other" users. example.html -rwr-- rw- Owner readable and writable, for you to work with your files.

Re: setup for localhost web (PHP) development

2016-12-06 Thread Gour
On Tue, 06 Dec 2016 07:47:34 +1030 Tim wrote: > You may strike problems using .local as a domain name. If you're just > doing it on the same machine, it'll probably be fine. My machine is not in the LAN, iow. single desktop machine, but this part is anyway easily solvable by using some other

Re: setup for localhost web (PHP) development

2016-12-05 Thread Tim
Allegedly, on or about 05 December 2016, Gour sent: > 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

Re: setup for localhost web (PHP) development

2016-12-05 Thread Bryon Adams
On 12/5/2016 09:13, Gour wrote: 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. h

setup for localhost web (PHP) development

2016-12-05 Thread Gour
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 li