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
------------------------------------------------------------------------------
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