You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ajay Garg <aj...@gmail.com> on 2012/09/04 18:10:47 UTC
[users@httpd] httpd on Debian
Hi all.
I have successfully been setting up secure-webdav based shared on Fedora.
However, when I try to do the same for Debian squeeze, I see the structure
of files are very different.
* The file "/etc/apache2/httpd.conf" is empty !!
* The file "/etc/apache2/mods-available/ssl.conf" is
also different; it has no "VirtualHost" definition, and no definitions for
"SSLCertificateFile" and "SSLCertificateKeyFile".
Any pointers as to how may I proceed? Should I simply copy the things from
the Fedora-versions; or there is some basic difference in configurations on
Debian?
Will be grateful for some quicky pointers :) .. especially, the approach I
should follow on Debian.
Thanks and Regards,
Ajay
Re: [users@httpd] httpd on Debian
Posted by Alex Bligh <al...@alex.org.uk>.
> this is the output, when I run the command "apache2ctl -S" on my Debian
> VM (guest machine), hosted on a Fedora-14 machine ::
>
>###############################################################################
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:443 127.0.1.1
> (/etc/apache2/sites-enabled/000-default:48)
> *:80 is a NameVirtualHost
> default server ceibal.uy
> (/etc/apache2/sites-enabled/000-default:1)
> port 80 namevhost ceibal.uy
> (/etc/apache2/sites-enabled/000-default:1)
> port 80 namevhost biblioteca.ceibal.edu.uy
> (/etc/apache2/sites-enabled/001-biblioteca:3)
>###############################################################################
>
>
> So, what does this indicate? Is the WebDAV configured correctly at least?
>
> If yes, then I just need to figure out the remote access thing (i.e.
> accessing webdav shares from the host machine, Fedora-14, via firefox) :-)
Assuming your WebDAV is in /etc/apache2/sites-enabled/001-biblioteca
the answer is no, it is only configured to be listening on port 80,
as opposed to port 443 which is what you were testing.
--
Alex Bligh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] httpd on Debian
Posted by Ajay Garg <aj...@gmail.com>.
Alex,
this is the output, when I run the command "apache2ctl -S" on my Debian VM
(guest machine), hosted on a Fedora-14 machine ::
###############################################################################
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443 127.0.1.1 (/etc/apache2/sites-enabled/000-default:48)
*:80 is a NameVirtualHost
default server ceibal.uy (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost ceibal.uy(/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost
biblioteca.ceibal.edu.uy(/etc/apache2/sites-enabled/001-biblioteca:3)
###############################################################################
So, what does this indicate? Is the WebDAV configured correctly at least?
If yes, then I just need to figure out the remote access thing (i.e.
accessing webdav shares from the host machine, Fedora-14, via firefox) :-)
Thanks and Regards,
Ajay
On Wed, Sep 5, 2012 at 12:06 PM, Alex Bligh <al...@alex.org.uk> wrote:
>
>
> --On 5 September 2012 11:57:00 +0530 Ajay Garg <aj...@gmail.com>
> wrote:
>
> Does that mean that the webdav is still not properly configured/started?
>> Or it could be a false negative?
>>
>
> It means nothing is listening on port 443 of your localhost address.
> That does not preclude it listening on port 443 of your ethernet
> address.
>
> Try
> apache2ctl -S
>
> which will tell you the hosts apache think's it has configured, and
> have a look at your logs.
>
> (httpd -S requires other stuff to be set up on Debian)
>
> --
> Alex Bligh
>
Re: [users@httpd] httpd on Debian
Posted by Alex Bligh <al...@alex.org.uk>.
--On 5 September 2012 11:57:00 +0530 Ajay Garg <aj...@gmail.com>
wrote:
> Does that mean that the webdav is still not properly configured/started?
> Or it could be a false negative?
It means nothing is listening on port 443 of your localhost address.
That does not preclude it listening on port 443 of your ethernet
address.
Try
apache2ctl -S
which will tell you the hosts apache think's it has configured, and
have a look at your logs.
(httpd -S requires other stuff to be set up on Debian)
--
Alex Bligh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] httpd on Debian
Posted by Ajay Garg <aj...@gmail.com>.
Thanks Alex.
I think that I configured the webdav correctly, since after a lot of huffs
and puffs, I could get "/etc/init.d/apache2 restart" working correctly on
the Debian server machine.
But then, I tried (on the Debian webdav server machine) ::
##################################################################
[ajay@localhost Effective C++]$ telnet
telnet> open 127.0.0.1 443
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection
refused
telnet>
##################################################################
Does that mean that the webdav is still not properly configured/started? Or
it could be a false negative?
Anyways, I have been stuck at a pinging issue, so I am not anyways able to
access the webdav share via firefox, as detailed at
http://www.linuxquestions.org/questions/showthread.php?p=4772907#post4772907
Any further help will be gratefully appreciated :)
Thanks and Regards,
Ajay
On Wed, Sep 5, 2012 at 12:31 AM, Alex Bligh <al...@alex.org.uk> wrote:
> Any pointers as to how may I proceed? Should I simply copy the things
>> from the Fedora-versions; or there is some basic difference in
>> configurations on Debian?
>>
>
> Essentially the Debian/Ubuntu setup is not to use a big long config
> but to include the contents of directories.
>
> On Debian, you probably want to put everything into your
> sites-available/my-site-name
> file (create one if it isn't there) then do
> a2ensite my-site-name
> and
> /etc/init.d/apache2 reload
>
> You may need to
> a2dissite default
>
> The directives are all the same (it's just where they are that
> differs).
>
> --
> Alex Bligh
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@httpd.**apache.org<us...@httpd.apache.org>
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] httpd on Debian
Posted by Alex Bligh <al...@alex.org.uk>.
> Any pointers as to how may I proceed? Should I simply copy the things
> from the Fedora-versions; or there is some basic difference in
> configurations on Debian?
Essentially the Debian/Ubuntu setup is not to use a big long config
but to include the contents of directories.
On Debian, you probably want to put everything into your
sites-available/my-site-name
file (create one if it isn't there) then do
a2ensite my-site-name
and
/etc/init.d/apache2 reload
You may need to
a2dissite default
The directives are all the same (it's just where they are that
differs).
--
Alex Bligh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org