On Tue, Mar 22, 2016 at 10:06 AM, Roparzh Hemon wrote:
> On Tue, Mar 22, 2016 at 9:56 AM, Yann Ylavic wrote:
>> It's usually not a good idea to have the HTTP server own (and be able
>> to write to) the files/directory it serves.
>>
>> So you should probably make httpd run as its own User/Group, a
On Tue, Mar 22, 2016 at 9:56 AM, Yann Ylavic wrote:
> It's usually not a good idea to have the HTTP server own (and be able
> to write to) the files/directory it serves.
>
> So you should probably make httpd run as its own User/Group, and make
> the DocumentRoot (and below) owned by an administrat
On Mon, Mar 21, 2016 at 1:31 PM, Roparzh Hemon wrote:
>
> Contents of /private/etc/apache2/httpd.conf file :
[]
>
> User myusernamehere
> Group staff
It's usually not a good idea to have the HTTP server own (and be able
to write to) the files/directory it serves.
So you should probably make http
On Tue, Mar 22, 2016 at 9:15 AM, Yann Ylavic wrote:
>
> Here you probably need something like:
>
>
Sorry, without the trailing /, ie:
and with the path/name you finally chose for you site...
> Require all granted
> DirectoryIndex index.html
>
>
>>
>
> Regards,
>
On Tue, Mar 22, 2016 at 9:15 AM, Yann Ylavic wrote:
> Here you probably need something like:
>
>
> Require all granted
> DirectoryIndex index.html
>
>
>>
>
Thanks for your help Yann! It works now.
-
On Mon, Mar 21, 2016 at 1:31 PM, Roparzh Hemon wrote:
>
> Contents of /private/etc/apache2/extra/httpd-vhosts.conf file :
[]
>
>
> ServerName strawberry.com
> ServerAlias www.strawberry.com
> DocumentRoot "/Users/myusernamehere/Sites/strawberry"
> ErrorLog "/private/var/log/apache
On Mon, Mar 21, 2016 at 5:57 PM, Richard
wrote:
>
> You should look at your access and error logs to see what is being
> served, and from where. Compare that against what you have as the
> DocumentRoot value you set for your "hhhstrawhhhberry.com" virtual
> host, which should be a filesystem path
> Date: Monday, March 21, 2016 17:36:59 +0100
> From: Roparzh Hemon
>
> As of now, when I put http://www.hhhstrawhhhberry.com/ into my
> browser, I get the famous "It works!" message. But I don't get the
> index.html file I put in
> Documents/Sites/www.hhhstrawhhhberry.com.
>
> Even if I type
>
> Generally you should avoid using existing domain names, especially
> ones you don't control, (e.g., strawberry.com) since that can have
> confusing repercussions.
>
OK. I just changed the name (to www.hhhstrawhhhberry.com), leaving
the rest unchanged, and things work a little better now (se
> Date: Monday, March 21, 2016 13:31:27 +0100
> From: Roparzh Hemon
>
> "I suspect you are mixing concepts (servername vs. documentroot),
> and likely not fully understanding what a virtualhost is and how one
> would access it via a web server. Do you control the domain
> "strawberry.com", or is
"I suspect you are mixing concepts (servername vs. documentroot), and
likely not fully understanding what a virtualhost is and how one
would access it via a web server. Do you control the domain "strawberry.com", or
is this just an obscured reference to the real domain you are using?"
That's w
Original Message
> Date: Monday, March 21, 2016 08:50:05 +0100
> From: Roparzh Hemon
>
> I've tried to set up a virtual host on my Mac, following all the
> instructions at
> https://coolestguidesontheplanet.com/how-to-set-up-virtual-hosts-in
> -apache-on-mac-osx-10-11-e
I've tried to set up a virtual host on my Mac, following all the instructions
at
https://coolestguidesontheplanet.com/how-to-set-up-virtual-hosts-in-apache-on-mac-osx-10-11-el-capitan/.
But when I type localhost/~myusernamehere/www.strawberry.com in my browser,
I get a "404 Not Found : The reques
13 matches
Mail list logo