Removing "Alias" line causes a different error.

=======================
Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
=======================

the errorlog file reports

=======================
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16355): Enable monitor
thread in process 'web2py'.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16422): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16430): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16458): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16463): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16464): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16465): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [info] mod_wsgi (pid=16466): Attach interpreter
''.
[Wed Aug 19 15:17:36 2009] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Wed Aug 19 15:17:36 2009] [info] Server built: Jul 14 2009 06:02:39
[Wed Aug 19 15:18:04 2009] [error] [client xx.xx.xx.xx] (13)Permission
denied: mod_wsgi (pid=16356): Unable to connect to WSGI daemon process
'web2py' on '/etc/httpd/logs/wsgi.16276.0.1.sock' after multiple attempts.
=======================

So I put the line back in, which results in the normal error

=======================
[Wed Aug 19 15:23:00 2009] [info] mod_wsgi (pid=16602): Enable deadlock
thread in process 'web2py'.
[Wed Aug 19 15:23:00 2009] [info] mod_wsgi (pid=16610): Enable monitor
thread in process 'web2py'.
[Wed Aug 19 15:23:00 2009] [info] mod_wsgi (pid=16610): Enable deadlock
thread in process 'web2py'.
[Wed Aug 19 15:23:00 2009] [info] mod_wsgi (pid=16651): Attach interpreter
''.
[Wed Aug 19 15:23:01 2009] [info] mod_wsgi (pid=16652): Attach interpreter
''.
[Wed Aug 19 15:23:01 2009] [info] mod_wsgi (pid=16696): Attach interpreter
''.
[Wed Aug 19 15:23:01 2009] [info] mod_wsgi (pid=16697): Attach interpreter
''.
[Wed Aug 19 15:23:01 2009] [info] mod_wsgi (pid=16698): Attach interpreter
''.
[Wed Aug 19 15:23:01 2009] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Wed Aug 19 15:23:01 2009] [info] Server built: Jul 14 2009 06:02:39
[Wed Aug 19 15:23:10 2009] [error] [client xx.xx.xx.xx] Directory index
forbidden by Options directive:
/usr/local/web2py/current/applications/welcome/
=======================



On Wed, Aug 19, 2009 at 3:14 PM, Don Lee <sam...@gmail.com> wrote:

> Can someone post a working apache config for rhel/centos5 ?
>
> On Wed, Aug 19, 2009 at 2:01 PM, Fran <francisb...@googlemail.com> wrote:
>
>>
>> On Aug 19, 5:08 pm, Don Lee <sam...@gmail.com> wrote:
>> > Alias /apps "/usr/local/web2py/current/applications"
>>
>> Try removing the line above
>>
>> > WSGIScriptAlias /apps "/usr/local/web2py/current/wsgihandler.py"
>>
>> I think it's clashing with this line (mine certainly works & I have no
>> 'Alias' like this)
>>
>> F
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to