Static site

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Static site

Вася Чайко
Hello.

I wish to use static pages on a site.
I create a site:

AIDASite newNamed: 'static'.
(AIDASite named: 'static') host: 'aida.local' ip: '127.0.0.1' port: 80.
(AIDASite named: 'static') homeDirectory: 'D:\Web\'.
(AIDASite named: 'static') start.

In folder D:\Web\ there is a file page.html. I am registered as admin
and try to pass to the address http://aida.local/page.html and receive
404 Not Found. What is wrong?
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Static site

Janko Mivšek

Privet Vasja,

Вася Чайко wrote:

> Hello.
>
> I wish to use static pages on a site.
> I create a site:
>
> AIDASite newNamed: 'static'.
> (AIDASite named: 'static') host: 'aida.local' ip: '127.0.0.1' port: 80.
> (AIDASite named: 'static') homeDirectory: 'D:\Web\'.
> (AIDASite named: 'static') start.
>
> In folder D:\Web\ there is a file page.html. I am registered as admin
> and try to pass to the address http://aida.local/page.html and receive
> 404 Not Found. What is wrong?

Can you ping aida.local? Did you register it in hosts file? Otherwise
just use 'locahost' instead, for now, then change later.

Best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Static site

Вася Чайко
Janko Mivšek пишет:

> Privet Vasja,
>
> Вася Чайко wrote:
>> Hello.
>>
>> I wish to use static pages on a site.
>> I create a site:
>>
>> AIDASite newNamed: 'static'.
>> (AIDASite named: 'static') host: 'aida.local' ip: '127.0.0.1' port: 80.
>> (AIDASite named: 'static') homeDirectory: 'D:\Web\'.
>> (AIDASite named: 'static') start.
>>
>> In folder D:\Web\ there is a file page.html. I am registered as admin
>> and try to pass to the address http://aida.local/page.html and receive
>> 404 Not Found. What is wrong?
>
> Can you ping aida.local?
Yes.

> Did you register it in hosts file?
Yes.

> Otherwise
> just use 'locahost' instead, for now, then change later.
>
> Best regards
> Janko
>
>


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

aida.local.png (90K) Download Attachment
page.PNG (61K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Static site

Janko Mivšek
Vasja,

You are on Squeak,right? If I recall correctly there are some problems
with Aida on Windows there. Please load latest Aida from
http://mc.bioskop.fr/Aida and maybe also latest Sport from the same
repository.

Best regards
Janko

Вася Чайко wrote:

> Janko Mivšek пишет:
>> Privet Vasja,
>>
>> Вася Чайко wrote:
>>> Hello.
>>>
>>> I wish to use static pages on a site.
>>> I create a site:
>>>
>>> AIDASite newNamed: 'static'.
>>> (AIDASite named: 'static') host: 'aida.local' ip: '127.0.0.1' port: 80.
>>> (AIDASite named: 'static') homeDirectory: 'D:\Web\'.
>>> (AIDASite named: 'static') start.
>>>
>>> In folder D:\Web\ there is a file page.html. I am registered as admin
>>> and try to pass to the address http://aida.local/page.html and
>>> receive 404 Not Found. What is wrong?
>>
>> Can you ping aida.local?
> Yes.
>
>> Did you register it in hosts file?
> Yes.
>
>> Otherwise just use 'locahost' instead, for now, then change later.
>>
>> Best regards
>> Janko
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Static site

Вася Чайко
Janko Mivšek пишет:
> Vasja,
>
> You are on Squeak,right? If I recall correctly there are some problems
> with Aida on Windows there. Please load latest Aida from
> http://mc.bioskop.fr/Aida and maybe also latest Sport from the same
> repository.
>
> Best regards
> Janko

Thanks. With latest Aida it works.
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida