Problème mise en place d'apache
Bonjour là,
Ajaxterm j'ai installé sur ma machine Ubuntu 9.04, et elle fonctionne bien si je l'utilise: Code:
http://localhost:8022/
dans mon navigateur. Le problème est que je voulais être capable d'accès de somewere autre par le biais d'Internet. J'ai lu certaines des instructions et aider les sites liés à ce problème, comme: https: / / help.ubuntu.com / community / AjaxTerm , Ajaxterm - Wiki et même la page d'aide officielle, mais je n'ai pas à résoudre le problème. Après avoir suivi les cours, étape par étape, c'est la façon dont mon
Code:
/etc/apache2/sites-available/default
ressemble à:
Code HTML:
<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>
Il est dit dans la page d'aide que, maintenant, je dois travailler. Mais, si je test dans mon navigateur
Code:
http://localhost or my_ip
la seule chose que je vois, c'est le "It works!" page.What ai-je fait de mal? Qu'est-ce que de modifier à travailler?
Merci,
Ady
|