Hallo daar,
Ik Ajaxterm geïnstalleerd op mijn Ubuntu 9.04 machine en het draait goed als ik gebruik:
Code:
http://localhost:8022/
in mijn browser. Het probleem is dat ik wilde te kunnen acces uit somewere anders via het internet. Ik lees een aantal instructies en hulp sites in verband met dit probleem, zoals:
https: / / help.ubuntu.com / community / AjaxTerm ,
Ajaxterm - Wiki en zelfs de officiële help pagina, maar ik heb het niet oplossen van het probleem. Na het volgen van de tutorials stap voor stap, dit is hoe mijn
Code:
/etc/apache2/sites-available/default
ziet er zo uit:
HTML-code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</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
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
<VirtualHost *:443>
SetEnvIf Request_URI "^/u" dontlog
ErrorLog /var/log/apache2/error.log
Loglevel warn
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
ProxyRequests Off
<Proxy *>
AuthUserFile /srv/ajaxterm/.htpasswd
AuthName EnterPassword
AuthType Basic
require valid-user
Order Deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8022/
ProxyPassReverse / http://localhost:8022/
</VirtualHost>
Er staat in de help-pagina die, nu, ik zou moeten werken. Maar, als ik test in mijn browser
Code:
http://localhost or my_ip
het enige wat ik zie is het "Het werkt!" page.What deed ik verkeerd? Wat te wijzigen om te werken?
Bedankt,
Ady