[Seaside] apache iframe seaside admin question

Sabine Knöfel sabine.knoefel at gmail.com
Fri Oct 11 14:23:34 UTC 2013


Hi Paul, all,

thanks, yes, this is clear now.

But unfortunately, using the domain name like this does not work either.
http://www.spesenfuchs.de:8085/RKA

I can reduce the problem to the following question: how can I point to
my app at an ec2 server without a rewrite rule?
Shouldn't it be something like http://www.spesenfuchs.de:8085/RKA

With the rewrite rule above, users can enter the app. But I want to
have the homepage stuff, too.
Entering www.spesenfuchs.de should go to the homepage, from there
entry in application.

If there is a need for rewrite rule, does anyone have an example for a
rewrite rule for an apache server with two "sections", one the normal
homepage stuff and the other for the application? I dont know anything
about this, just learning.

Sabine

On Fri, Oct 11, 2013 at 3:23 PM, Paul DeBruicker <pdebruic at gmail.com> wrote:
> From the clients point of view going to 'localhost:8085/RKA' means port 8085 on their machine, not your server.  I think you need to use your domain name there and probably also either http or https
>
>
>
>
>
> On Oct 11, 2013, at 3:54 AM, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:
>
>> Til now, I used a rewrite rule and each request to my amazon instance went to
>> my app. This worked.
>>
>> <VirtualHost *:80>
>> #set server name
>> ProxyPreserveHost On
>> ServerName localhost
>> DocumentRoot "C:/Program Files (x86)/Apache Software
>> Foundation/Apache2.2/htdocs/"
>> RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
>> #rewrite incoming requests
>> RewriteEngine On
>>    RewriteRule ^/(.*)$ http://localhost:8085/RKA/$1 [proxy,last]
>> </VirtualHost>
>>
>> But in future, I will have a Homepage (with some infos for the user bla bla)
>> with an iframe and in this iframe, my app login will run. Users will open
>> the index.html with the iFrame in it. From there, they will enter the
>> seaside app. Locally, this works.
>>
>> But in production, with apache, I have problems.
>>
>> I removed the Virtual Host and added the iframe
>>
>> <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
>>       &quot;http://www.w3.org/TR/html4/loose.dtd&quot;>
>> <html><head><title>Spesenfuchs</title></head>
>> <body >
>> <iframe src="???????"  style="...." ...   ></iframe>
>> </body>
>> </html>
>>
>> Can anyone tell me what to enter at the ??????
>>
>> I tried different versions but I did not succeed.
>> E.g. localhost:8085/RKA
>> Sorry, this question seems to be stupid but I did not get it.
>>
>> My app was registered with:
>> WAAdmin register: RKALayoutView asApplicationAt: 'RKA'
>>
>> Sabine
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/apache-iframe-seaside-admin-question-tp4713813.html
>> Sent from the Seaside General mailing list archive at Nabble.com.
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list