<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=9640&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=9640</link>
		<description><![CDATA[Les sujets les plus récents dans [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404.]]></description>
		<lastBuildDate>Fri, 19 Aug 2005 09:20:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=69708#p69708</link>
			<description><![CDATA[<p>Alors, il faut le marquer dans le titre (en modifant ton premier post). C&#039;est pour aider les gens qui regardent les post pour aider les gens.</p>]]></description>
			<author><![CDATA[dummy@example.com (Kitty)]]></author>
			<pubDate>Fri, 19 Aug 2005 09:20:52 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=69708#p69708</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=69704#p69704</link>
			<description><![CDATA[<p>oui.</p>]]></description>
			<author><![CDATA[dummy@example.com (cudjoe)]]></author>
			<pubDate>Fri, 19 Aug 2005 09:16:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=69704#p69704</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=69645#p69645</link>
			<description><![CDATA[<p>[Résolu] ?</p>]]></description>
			<author><![CDATA[dummy@example.com (Kitty)]]></author>
			<pubDate>Fri, 19 Aug 2005 08:16:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=69645#p69645</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=69641#p69641</link>
			<description><![CDATA[<p>C&#039;est bon ça fonctionnne, j&#039;ai remplacé </p><p>cudjoe.no-ip.org:80 </p><p>par </p><p>*:80</p>]]></description>
			<author><![CDATA[dummy@example.com (cudjoe)]]></author>
			<pubDate>Fri, 19 Aug 2005 08:12:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=69641#p69641</guid>
		</item>
		<item>
			<title><![CDATA[[Résolu] Apache2 - marche avec sous-repertoires mais Erreur 404]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=64073#p64073</link>
			<description><![CDATA[<p>Bonjour chère communauté !</p><p>Encore une erreur 404 !</p><p>Bon je ne sais pas ce que j&#039;ai fait, mais depuis peu j&#039;ai une erreur 404 quand j&#039;essaye d&#039;atteindre la racine de mon serveur Web (http://cudjoe.no-ip.org/) mais ca marche toujours si j&#039;accède à un sous répertoire (http://cudjoe.no-ip.org/cudjoe/)</p><p>L&#039;erreur donnée dans le log :</p><div class="codebox"><pre><code>[Mon Aug 08 23:37:07 2005] [warn] RSA server certificate CommonName (CN) `cudjoe.no-ip.org&#039; does NOT match server name!?
[Mon Aug 08 23:37:07 2005] [notice] Apache/2.0.53 (Ubuntu) PHP/4.3.10-10ubuntu4 mod_ssl/2.0.53 OpenSSL/0.9.7e configured -- resuming normal operations
[Mon Aug 08 23:25:58 2005] [error] [client 192.168.0.254] File does not exist: /htdocs</code></pre></div><p>Je n&#039;ai rien qui fasse référence à htdocs dans mes configs, donc je ne sais pas trop ou créer ce fameux répertoire !</p><p>Voici le contexte :</p><p><strong>Répertoires</strong> :</p><div class="codebox"><pre><code>mathieu@cudjoe:/var/www $ ll /var/
...
drwxr-xr-x   5 root root  4096 2005-08-08 23:24 www
mathieu@cudjoe:/var/www $ ll /var/www
total 16
drwxr-xr-x  2 root root 4096 2005-08-08 19:58 apache2-default
drwxr-xr-x  2 root root 4096 2005-07-30 15:00 http
-rw-r--r--  1 root root   40 2005-08-08 23:16 index.html
drwxr-xr-x  2 root root 4096 2005-06-22 19:34 ssl
mathieu@cudjoe:/var/www $ ll /var/www/http
total 20
lrwxrwxrwx  1 root root   19 2005-05-02 23:31 cudjoe -&gt; /media/e/www/cudjoe
-rw-r--r--  1 root root  278 2005-05-05 15:13 index.html
lrwxrwxrwx  1 root root   21 2005-05-01 21:44 phpmyadmin -&gt; /usr/share/phpmyadmin
-rw-r--r--  1 root root   20 2005-05-01 21:31 testphp.php
-rwxr-xr-x  1 root root 8324 2005-05-05 15:12 tux.jpg</code></pre></div><p><strong>Configuration</strong><br />Contenu de /etc/apache2/sites-enabled/000-default</p><div class="codebox"><pre class="vscroll"><code>#NameVirtualHost cudjoe.no-ip.org:80
&lt;VirtualHost cudjoe.no-ip.org:80&gt;	
	ServerAdmin webmaster@localhost	
	DocumentRoot /var/www/http
	&lt;Directory /&gt;
		Options FollowSymLinks
		AllowOverride None
	&lt;/Directory&gt;
	&lt;Directory &quot;/var/www/http&quot;&gt;
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2&#039;s default start page
                # in /apache2-default/, but still have / go to the right place
                # Commented out for Ubuntu
                #RedirectMatch ^/$ /apache2-default/
	&lt;/Directory&gt;

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	&lt;Directory &quot;/usr/lib/cgi-bin&quot;&gt;
		AllowOverride None
		Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	&lt;/Directory&gt;

	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 /doc/ &quot;/usr/share/doc/&quot;
    &lt;Directory &quot;/usr/share/doc/&quot;&gt;
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    &lt;/Directory&gt;

&lt;/VirtualHost&gt;</code></pre></div><p>Ce qui est curieux c&#039;est http://cudjoe.no-ip.org/cudjoe/ fonctionne, alors que http://cudjoe.no-ip.org/phpmyadmin/</p><p>Si quelqu&#039;un a une idée...je vous en serais extrèmement reconnaissant ! Ou éventuellement une méthode pour réinitialiser tout ça <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Merci à vous, </p><p>cudjoe</p>]]></description>
			<author><![CDATA[dummy@example.com (cudjoe)]]></author>
			<pubDate>Mon, 08 Aug 2005 21:52:41 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=64073#p64073</guid>
		</item>
	</channel>
</rss>
