[Seaside] Seaside and Apache, httpd.conf issue

Leandro Perez leandromperez at gmail.com
Sat May 24 18:25:54 UTC 2008


Hello list

I'm trying to make Seaside work behind Apache. I just want to try it out,
it's not for production, so I'll be running the Seaside server in the same
machine that Apache.

I've allready installed Apache and it's up and running on port 80. Requests
to http://localhost work just fine

For the Seaside part, I'm running a TinyHttp server on port 7777. The
seaside apps are running ok, i.e. http://localhost:7777/seaside/go works
well
I'm using VWnc and Seaside 2.8. (ForWebToolkit)

After many alternatives, this is my actual virtual host configuration for
Apache (httpd.conf):

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName localhost
    RewriteEngine On
    ProxyVia Block
    ProxyPreserveHost On
    RewriteRule ^/(seaside/go/.*)$ http://localhost:7777/$1 [P,L,NS]
</VirtualHost>

The problem I have is, if I access http://localhost/seaside/go (accessing
via apache) an Exception is Thrown in smalltalk. So it looks like Apache is
redirecting the requests to the seaside server but,  It looks like a file is
being requested instead of the actual request.
I'm missing something in the httpd.conf, I have no idea of what it could
be..
Any hints?
I've read the post in Ramon Leon's blog (
http://onsmalltalk.com/programming/smalltalk/running-seaside-apache-and-iis-on-windowsxp/)
and in Boris Popov's blog (
http://leftshore.wordpress.com/2006/10/27/hint-setting-up-apache-proxy-for-your-seaside-host/)
on this subject, also a few posts on the mailing list. But is too late and I
can't find the answer.

Anyone?
Thanks a lot :) !
ps: Here is part of the stack trace.

Unhandled exception: ERROR_FILE_NOT_FOUND ("c:\Archivos de
programa\Cincom\vw7.6nc\web\examples\seasidego")
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:
FileErrorHolder(OSErrorHolder)>>reportErrorProceeding
optimized [] in OSErrorHolder class>>initializeErrorActions
SystemError>>handleErrorFor:
NTFSFilename(Filename)>>isDirectory
VisualWave.WebSiteFile>>canServeFile
optimized [] in VisualWave.WebSiteFile>>handleFileRequest
SignalHandler>>handleDo:
SignalHandler>>handleDo:
HandlerList>>handleDo:
VisualWave.WebSiteFile>>handleFileRequest
VisualWave.WebSiteFile>>doGet
VisualWave.WebSiteFile(VisualWave.SingleThreadModelServlet)>>service:response:
VisualWave.ServletHandler>>basicEvaluate
optimized [] in VisualWave.WWHandler>>evaluate
BlockClosure>>on:do:
VisualWave.ServletHandler(VisualWave.WWHandler)>>evaluate
VisualWave.ServletHandler>>sendEntityOver:
VisualWave.ServletHandler(VisualWave.WWHandler)>>sendHTTPOver:forServer:forRequest:
optimized [] in VisualWave.WebRequest>>answerWith:
BlockClosure>>on:do:
VisualWave.WebRequest>>answerWith:
VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateDispatchRequest:
VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>dispatchRequest:
VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateServe:
optimized [] in VisualWave.WebRequestService>>serveMarshaller:
BlockClosure>>on:do:
VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>serveMarshaller:
VisualWave.WaveMarshaler>>handleIncomingMessageOn:
optimized [] in [] in VisualWave.WaveTransport>>handlingIncomingMessage
BlockClosure>>ensure:
optimized [] in VisualWave.WaveTransport>>handlingIncomingMessage
BlockClosure>>on:do:
VisualWave.WaveTransport>>handlingIncomingMessage
VisualWave.WaveTransport>>serverProcessBody
optimized [] in Opentalk.Transport>>startServerProcess
BlockClosure>>on:do:
optimized [] in Process class>>forBlock:priority:

----------------------------------------------------------------------
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:
Receiver:
    a FileErrorHolder class
Instance Variables:
    superclass = OSErrorHolder
    methodDict = a MethodDictionary[3]
    format = 16386
    subclasses = nil
    instanceVariables = an Array[1]
    organization = ('accessing' #errorString #filename #filename:)

    name = #FileErrorHolder
    classPool = a NameSpaceOfClass[0]
    environment = a NameSpace[104]
Arguments:
    anErrorHolder = a FileErrorHolder(Error: ERROR_FILE_NOT_FOUND)
Temporaries:
    errorSignal = OSErrorHolder nonexistentSignal
Context PC = 31
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080524/063a11df/attachment.htm


More information about the seaside mailing list