Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problems with web server

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
davidknibb
Posts: 10
Joined: 2005-02-09 10:07

Problems with web server

#1 Post by davidknibb »

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

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1418
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 189 times

Re: Problems with web server

#2 Post by steve_v »

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?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

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

Re: Problems with web server

#3 Post by davidknibb »

Thank you

David

Post Reply