Hello list<br><br>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.<br><br>I've allready installed Apache and it's up and running on port 80. Requests to <a href="http://localhost/" target="_blank">http://localhost</a> work just fine<br>
<br>For the Seaside part, I'm running a TinyHttp server on port 7777. The seaside apps are running ok, i.e. <a href="http://localhost:7777/seaside/go" target="_blank">http://localhost:7777/seaside/go</a> works well<br>
I'm using VWnc and Seaside 2.8. (ForWebToolkit)<br>
<br>After many alternatives, this is my actual virtual host configuration for Apache (httpd.conf):<br><br><div style="margin-left: 40px;">NameVirtualHost *:80<br><br><VirtualHost *:80><br> ServerName localhost<br>
RewriteEngine On<br> ProxyVia Block<br> ProxyPreserveHost On<br> RewriteRule ^/(seaside/go/.*)$ <a href="http://localhost:7777/$1" target="_blank">http://localhost:7777/$1</a> [P,L,NS]<br></VirtualHost><br>
</div><br>The problem I have is, if I access <a href="http://localhost/seaside/go" target="_blank">http://localhost/seaside/go</a>
(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.<br>
I'm missing something in the httpd.conf, I have no idea of what it could be..<br>Any hints?<br>I've read the post in Ramon Leon's blog (<a href="http://onsmalltalk.com/programming/smalltalk/running-seaside-apache-and-iis-on-windowsxp/" target="_blank">http://onsmalltalk.com/programming/smalltalk/running-seaside-apache-and-iis-on-windowsxp/</a>) and in Boris Popov's blog (<a href="http://leftshore.wordpress.com/2006/10/27/hint-setting-up-apache-proxy-for-your-seaside-host/" target="_blank">http://leftshore.wordpress.com/2006/10/27/hint-setting-up-apache-proxy-for-your-seaside-host/</a>) on this subject, also a few posts on the mailing list. But is too late and I can't find the answer.<br>
<br>Anyone?<br>Thanks a lot :) ! <br>ps: Here is part of the stack trace.<br><br><div style="margin-left: 40px;">Unhandled exception: ERROR_FILE_NOT_FOUND ("c:\Archivos de programa\Cincom\vw7.6nc\web\examples\seasidego")<br>
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:<br>FileErrorHolder(OSErrorHolder)>>reportErrorProceeding<br>optimized [] in OSErrorHolder class>>initializeErrorActions<br>SystemError>>handleErrorFor:<br>
NTFSFilename(Filename)>>isDirectory<br>VisualWave.WebSiteFile>>canServeFile<br>optimized [] in VisualWave.WebSiteFile>>handleFileRequest<br>SignalHandler>>handleDo:<br>SignalHandler>>handleDo:<br>
HandlerList>>handleDo:<br>VisualWave.WebSiteFile>>handleFileRequest<br>VisualWave.WebSiteFile>>doGet<br>VisualWave.WebSiteFile(VisualWave.SingleThreadModelServlet)>>service:response:<br>VisualWave.ServletHandler>>basicEvaluate<br>
optimized [] in VisualWave.WWHandler>>evaluate<br>BlockClosure>>on:do:<br>VisualWave.ServletHandler(VisualWave.WWHandler)>>evaluate<br>VisualWave.ServletHandler>>sendEntityOver:<br>VisualWave.ServletHandler(VisualWave.WWHandler)>>sendHTTPOver:forServer:forRequest:<br>
optimized [] in VisualWave.WebRequest>>answerWith:<br>BlockClosure>>on:do:<br>VisualWave.WebRequest>>answerWith:<br>VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateDispatchRequest:<br>
VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>dispatchRequest:<br>VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateServe:<br>optimized [] in VisualWave.WebRequestService>>serveMarshaller:<br>
BlockClosure>>on:do:<br>VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>serveMarshaller:<br>VisualWave.WaveMarshaler>>handleIncomingMessageOn:<br>optimized [] in [] in VisualWave.WaveTransport>>handlingIncomingMessage<br>
BlockClosure>>ensure:<br>optimized [] in VisualWave.WaveTransport>>handlingIncomingMessage<br>BlockClosure>>on:do:<br>VisualWave.WaveTransport>>handlingIncomingMessage<br>VisualWave.WaveTransport>>serverProcessBody<br>
optimized [] in Opentalk.Transport>>startServerProcess<br>BlockClosure>>on:do:<br>optimized [] in Process class>>forBlock:priority:<br><br>----------------------------------------------------------------------<br>
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:<br>Receiver:<br> a FileErrorHolder class<br>Instance Variables:<br> superclass = OSErrorHolder<br> methodDict = a MethodDictionary[3]<br> format = 16386<br>
subclasses = nil<br> instanceVariables = an Array[1]<br> organization = ('accessing' #errorString #filename #filename:)<br><br> name = #FileErrorHolder<br> classPool = a NameSpaceOfClass[0]<br> environment = a NameSpace[104]<br>
Arguments:<br> anErrorHolder = a FileErrorHolder(Error: ERROR_FILE_NOT_FOUND)<br>Temporaries:<br> errorSignal = OSErrorHolder nonexistentSignal<br>Context PC = 31<br></div><br>