httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PANKAJ <ghadge.pan...@gmail.com>
Subject Re: [users@httpd] Re: Configured New virtualhost asked for authentication entication
Date Tue, 27 Dec 2011 07:21:18 GMT
Hi
Make an entry in /etc/hosts
192.168.1.184 [Machine IP address]   mozwp.leosysserver.net   www.
mozwp.leosysserver.net

then edit apache config file. look for yours apache config file or virtual
host config file.

vi /etc/httpd/conf/httpd.conf

<VirtualHost 192.168.1.184>
ServerName mozwp.leosysserver.net
ServerAlias www.mozwp.leosysserver.net
ServerAdmin webmaster@mailserve.net
DocumentRoot /web/mozwp.leosysserver.net/htdocs
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm
    AddType application/x-httpd-php .inc
    AddType application/x-httpd-php .htx
    Options ExecCGI FollowSymLinks Includes
    DirectoryIndex index.phtml index.htm index.html index.php3 index.php
</VirtualHost>



On 26 December 2011 15:24, Reetika786 <reetikav@leosys.in> wrote:

>
> Hi
>
> I need to ask few more things see i dont have domain hosted and i want to
> see my site as mozwp.leosysserver.net and domain leosysserver.net is not
> hosted anywhere its my linux  server name/machine name . How do I configure
> my virtual host  to see my webpages  using this URL
> mozwp.leosysserver.net.Please suggest me. I am new bie just started
> learning
> apache.
>
>
> Reetika786 wrote:
> >
> > Hi
> >  I have configured virtual host but suddenly when its started asking for
> > authentication asking for username /pwd/ but ..Allowoveride optio is none
> > and i didnt config any authentication ..Please suggest me what to do
> >
>
> --
> View this message in context:
> http://old.nabble.com/Configured-New-virtualhost-asked-for-authentication-entication-tp33032205p33037571.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message