Problems with web server

If none of the more specific forums is the right place to ask

Problems with web server

Postby davidknibb » 2017-09-20 19:15

I was running owncloud9 on debian 8 - using the system as a remote headless server. with apache2
Everything seemed OK.
For reasons that I hardly remember i decided to remove Apache2 and install lighttpd instead.
As far as I can tell I've removed everything that relates to apache, all config files - the lots.

When I access the system with - using lighttpd -

http://abc.co.uk - the correct home page shows up.

But when I try

http://abc.co.uk/owncloud I get

Not Found: vhost: abc.co.uk /owncloud

I've no idea how to resolve this problem - and I tried using other servers hiawatha,nginx - the same error show.
And if I now reinstall apache2 - it won't start.

any ideas as to how to correct the 'not Found 'vhost' problem please /

Thanks

David
davidknibb
 
Posts: 10
Joined: 2005-02-09 10:07

Re: Problems with web server

Postby steve_v » 2017-09-21 04:58

davidknibb wrote:And if I now reinstall apache2 - it won't start.

So what error messages does it generate? What's in your config file(s) and does 'apachectl configtest' like your syntax?
The apache log will almost certainly explain why it's not starting, but I can't see it from here.

davidknibb wrote:any ideas as to how to correct the 'not Found 'vhost' problem please

Sounds to me like the vhost that serves /owncloud is not configured, or the owncloud config file is not enabled (possibly not even installed).
AFAIK, owncloud only ships config fragments for apache - if you want to run it on some other webserver you will need to create your own.

That's all I can say, as I can't see your log files or webserver configuration, and without my crystal ball I can't work out how you set this up.
Which owncloud packages were installed and where did they come from? I'm guessing not from Debian, as IIRC oldstable ships version 7.

I have owncloud running on apache here... My setup may or may not be similar to how you configured yours, but you don't say, so ¯\_(ツ)_/¯.

On the other hand, the simplest solution is to just reinstall apache and restore the configuration files from backup. You do have a backup strategy for this server, right?
steve_v
 
Posts: 472
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Problems with web server

Postby davidknibb » 2017-09-22 06:28

Thank you

David
davidknibb
 
Posts: 10
Joined: 2005-02-09 10:07


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable