[Taginfo-dev] Errors starting taginfo webserver on Ubuntu 14.04
Imre Samu
pella.samu at gmail.com
Sun May 17 09:04:21 UTC 2015
Hi yogi,
>But running it under Passenger having some issues. Although the
permissions and apache config looks fine,
>it shows up 403 Forbidden Error page.
>And the apache error.log has this message - "AH01630: client denied by
server configuration: /osm/taginfo/web/public/".
strange .. Maybe we should move the "<Directory> block" outside
(taginfo.conf)
sometimes it helps .. ( sorry I am not an apache2 expert )
<Directory /osm/taginfo/web/public>
Allow from all
Options -MultiViews
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot /osm/taginfo/web/public
</VirtualHost>
Regards,
Imre
2015-05-17 0:59 GMT+02:00 Yogesh <yogesh at kalike.org>:
> On Saturday 16 May 2015 01:43 PM, Stephan Knauss wrote:
>
> Sounds very similar to my problem. Please check which version of rack you
> are using. Maybe you have to downgrade.
>
>
> Yeah, downgrading to versions suggested by Imre did the trick.! Now I'm
> able to run the taginfo instance in debugging mode on port 4567.
>
> But running it under Passenger having some issues. Although the
> permissions and apache config looks fine, it shows up 403 Forbidden Error
> page. And the apache error.log has this message - "AH01630: client denied
> by server configuration: /osm/taginfo/web/public/".
>
> The taginfo.conf file at /etc/apache2/sites-available/ has the following
> content -
>
> <VirtualHost *:80>
> # ServerName taginfo.openstreetmap.xx
> DocumentRoot /osm/taginfo/web/public
> <Directory /osm/taginfo/web/public>
> Allow from all
> Options -MultiViews
> # Uncomment this if you're on Apache >= 2.4:
> Require all granted
> </Directory>
> </VirtualHost>
>
> Tried adding "Options FollowSymLinks AllowOverride None" to above but
> didn't work.
>
> And the contents of *config.ru <http://config.ru>* in the web directory
> is like as specified in the wiki -
>
> Encoding.default_external = 'UTF-8'
>
> require 'rubygems'
> require 'sinatra'
> require './taginfo.rb'
> require 'json'
> require 'lib/config.rb'
>
> TaginfoConfig.read
>
> LOGDIR=TaginfoConfig.get('logging.directory', '/osm/taginfo/var/log');
>
> set :run, false
> set :environment, :production
>
> today = Time.now.strftime('%Y-%m-%d')
> log = File.new("#{LOGDIR}/taginfo-#{ today }.log", "a")
> log.sync = true
>
> # https://github.com/joto/taginfo/issues/34
> #$stdout.reopen(log)
> $stderr.reopen(log)
>
> $stderr.puts "Taginfo started #{Time.now}"
>
> $queries_log = File.new("#{LOGDIR}/queries-#{ today }.log", "a")
> $queries_log.sync = true
>
> run Taginfo
>
> Not getting where things are going wrong with Passenger in Apache.
>
>
> thanks,
> yogi
>
> _______________________________________________
> Taginfo-dev mailing list
> Taginfo-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/taginfo-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/taginfo-dev/attachments/20150517/830cc97e/attachment-0001.html>
More information about the Taginfo-dev
mailing list