Apche 2.4 on ubutnu 14.04
nitin chandra
nitinchandra1 at gmail.com
Sun Jun 26 19:51:41 UTC 2016
http://13x.2xx.91.2xx/vimal/public_html/
that is when I get to see the ' index.html ' (testing 6)
whereas I need to enter ' passtms.in ' and it should show (testing 6,
or whatever). I have a public static IP with which I am attaching this
temporary / test 'domain name' in /etc/hosts
127.0.0.1 localhost.localdomain localhost
13x.2xx.91.2xx passtms.in
13x.2xx.91.2xx www.passtms.in
Later on as and when need be I will add some more.
On 27 June 2016 at 01:02, nitin chandra <nitinchandra1 at gmail.com> wrote:
> This is my userdir.conf in addition to the apache2.conf and passtms.in.conf
>
> <IfModule mod_userdir.c>
> UserDir /home/*/public_html
> UserDir disabled root
>
> <Directory /home/*/public_html>
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS>
> Require all granted
> </Limit>
> <LimitExcept GET POST OPTIONS>
> Require all denied
> </LimitExcept>
> </Directory>
> </IfModule>
>
> On 27 June 2016 at 00:44, Karl Auer <kauer at biplane.com.au> wrote:
>> On Mon, 2016-06-27 at 00:32 +0530, nitin chandra wrote:
>>> You were right .... in main apache2.conf
>>
>> :-)
>>
>>> I am trying to configure apache where users login to their directory
>>> ONLY (with vh conf)
>>
>> Have you seen these?
>>
>> https://httpd.apache.org/docs/2.4/howto/public_html.html
>> https://httpd.apache.org/docs/2.4/mod/mod_userdir.html#userdir
>>
>> Regards, K.
>>
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Karl Auer (kauer at biplane.com.au)
>> http://www.biplane.com.au/kauer
>> http://twitter.com/kauer389
>>
>> GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
>> Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
>>
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list