hey Koen:
Got it!!
I use the url http://210.31.7.39/cx.wt/sys/files mannually, the upload
works fine!
but how can i attach the "cx.wt" to the url, the initial path in chrome?
when session started the initial path is empty "" from internalPath();

ps: In IE, the url attachs "#" automatically, like :
http://210.31.7.39/#/sys/files

Thanks
Regards
Zhimin

2012/5/10 Zhimin Song <cszhms...@gmail.com>

> Hey koen:
>  I will rewrite my code, the composor example is running well in my
> computer, thanks;
> regards
> Zhimin
>
>
> 2012/5/9 Zhimin Song <cszhms...@gmail.com>
>
>> hey Koen:
>>
>> 2012/5/9 Koen Deforche <k...@emweb.be>
>>
>>>
>>> It's only different in how you can start and stop the application
>>> (without starting the Apache server).
>>>
>>> ok, thanks.
>>
>>
>>> How do you make sure that http://210.31.7.39/ is handled by the Wt
>>> application ? How does your apache configuration for that look like ?
>>>
>>>
>> my apache2 configuration is just the /etc/apache2/sites-avaliable/default
>> file as below:
>>
>> NameVirtualHost *:80
>> <VirtualHost *:80>
>>  ServerAdmin cszhms...@gmail.com
>>  DocumentRoot /var/www/cx
>>  #DocumentRoot /var/www
>> <Directory /var/www/cx>
>> #<Directory /var/www>
>>   DirectoryIndex cx.wt
>> Options FollowSymLinks
>> #Options None
>>  AllowOverride None
>> </Directory>
>>
>> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>>  <Directory "/usr/lib/cgi-bin">
>> AllowOverride None
>> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>>  Order allow,deny
>> Allow from all
>> </Directory>
>>
>> ErrorLog /var/log/apache2/error.log
>>
>> # Possible values include: debug, info, notice, warn, error, crit,
>>  # alert, emerg.
>> LogLevel warn
>>
>> CustomLog /var/log/apache2/access.log combined
>>  ServerSignature On
>>
>>     Alias /icons/ "/var/www/cx/icons/"
>>
>> </VirtualHost>
>>
>>
>>> You will need to make sure that also the sub-folders (/sys, ...) are
>>> handled by the Wt application.
>>>
>>>
>> o, koen, I have no sub-folder of /sys or /sys/files..  it is just
>> internal path, i use the internalPathChanged() to do what I want. this path
>> (/sys/files) will create a WContainerWidget (first time run ) and is put
>> into the WStatckedWidget, and then setCurrentWidget() like the old old
>> Wt-home page. this container contains the WFileUpload function.
>>
>> Regards
>> Zhimin
>>
>
>
>
> --
> 我的博客:hi.baidu.com/zhmsong;
> 我的项目:sf.net/projects/cxserver <http://sourceforge.net/projects/cxserver/>
>
>


-- 
我的博客:hi.baidu.com/zhmsong;
我的项目:sf.net/projects/cxserver <http://sourceforge.net/projects/cxserver/>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to