<?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=10650&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Comment configurer site local pour que des utilisateurs se connectent]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=10650</link>
		<description><![CDATA[Les sujets les plus récents dans Comment configurer site local pour que des utilisateurs se connectent.]]></description>
		<lastBuildDate>Wed, 24 Aug 2005 23:30:34 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Comment configurer site local pour que des utilisateurs se connectent]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=73003#p73003</link>
			<description><![CDATA[<p>Salut et merci de ta réponse,</p><p>J&#039;ai installé un cms et il semblerait que la modification est à faire dans settings.php.</p><p>ma base de donnée s&#039;appelle : drubase</p><p>le chemin de la racine du site :</p><div class="quotebox"><blockquote><div><p>/var/www/monsite/siteart/</p></div></blockquote></div><p>J&#039;ai modifié le settings.php de : /var/www/monsite/siteart/sites/default/settings.php en indiquant ceci : </p><div class="quotebox"><blockquote><div><p>$db_url = &#039;mysql://mermaid:paris@localhost/drubase&#039;;<br />$base_url = &#039;http://localhost/monsite/siteart&#039;;</p></div></blockquote></div><p>Pour que le site soit visible par l&#039;extérieur, j&#039;ai créé un dossier dans le repertoire &#039;sites&#039; nommé www.siteart.com. Et dans siteart.com j&#039;ai copié le settings.php dedans.<br />Ensuite, j&#039;ai modifié $base_url ainsi :</p><div class="quotebox"><blockquote><div><p>$base_url = &#039;http://www.siteart.com&#039;;</p></div></blockquote></div><p>Voici la page de mon settings.php:</p><div class="quotebox"><blockquote><div><p>&lt;?php<br />// $Id: settings.php,v 1.12.2.2 2005/04/14 18:35:19 dries Exp $</p><p>/**<br /> * @file<br /> * Drupal site-specific configuration file.<br /> *<br /> * The configuration file to be loaded is based upon the rules below.<br /> *<br /> * The configuration directory will be discovered by stripping the<br /> * website&#039;s hostname from left to right and pathname from right to<br /> * left. The first configuration file found will be used and any<br /> * others will be ignored. If no other configuration file is found<br /> * then the default configuration file at &#039;sites/default&#039; will be used.<br /> *<br /> * For example, for a fictitious site installed at<br /> * http://www.drupal.org/mysite/test/, the &#039;settings.php&#039;<br /> * is searched in the following directories:<br /> *<br /> *&#160; 1. sites/www.drupal.org.mysite.test<br /> *&#160; 2. sites/drupal.org.mysite.test<br /> *&#160; 3. sites/org.mysite.test<br /> *<br /> *&#160; 4. sites/www.drupal.org.mysite<br /> *&#160; 5. sites/drupal.org.mysite<br /> *&#160; 6. sites/org.mysite<br /> *<br /> *&#160; 7. sites/www.drupal.org<br /> *&#160; 8. sites/drupal.org<br /> *&#160; 9. sites/org<br /> *<br /> * 10. sites/default<br /> */</p><p>/**<br /> * Database settings:<br /> *<br /> * Note that the $db_url variable gets parsed using PHP&#039;s built-in<br /> * URL parser (i.e. using the &quot;parse_url()&quot; function) so make sure<br /> * not to confuse the parser. If your username, password<br /> * or database name contain characters used to delineate<br /> * $db_url parts, you can escape them via URI hex encodings:<br /> *<br /> *&#160; &#160;: = %3a&#160; &#160;/ = %2f&#160; &#160;@ = %40<br /> *&#160; &#160;+ = %2b&#160; &#160;( = %28&#160; &#160;) = %29<br /> *&#160; &#160;? = %3f&#160; &#160;= = %3d&#160; &#160;&amp; = %26<br /> *<br /> * To specify multiple connections to be used in your site (i.e. for<br /> * complex custom modules) you can also specify an associative array<br /> * of $db_url variables with the &#039;default&#039; element used until otherwise<br /> * requested.<br /> *<br /> * You can optionally set prefixes for some or all database table names<br /> * by using the $db_prefix setting. If a prefix is specified, the table<br /> * name will be prepended with its value. Be sure to use valid database<br /> * characters only, usually alphanumeric and underscore. If no prefixes<br /> * are desired, leave it as an empty string &#039;&#039;.<br /> *<br /> * To have all database names prefixed, set $db_prefix as a string:<br /> *<br /> *&#160; &#160;$db_prefix = &#039;main_&#039;;<br /> *<br /> * To provide prefixes for specific tables, set $db_prefix as an array.<br /> * The array&#039;s keys are the table names and the values are the prefixes.<br /> * The &#039;default&#039; element holds the prefix for any tables not specified<br /> * elsewhere in the array. Example:<br /> *<br /> *&#160; &#160;$db_prefix = array(<br /> *&#160; &#160; &#160;&#039;default&#039;&#160; &#160;=&gt; &#039;main_&#039;,<br /> *&#160; &#160; &#160;&#039;users&#039;&#160; &#160; &#160;=&gt; &#039;shared_&#039;,<br /> *&#160; &#160; &#160;&#039;sessions&#039;&#160; =&gt; &#039;shared_&#039;,<br /> *&#160; &#160; &#160;&#039;role&#039;&#160; &#160; &#160; =&gt; &#039;shared_&#039;,<br /> *&#160; &#160; &#160;&#039;authmap&#039;&#160; &#160;=&gt; &#039;shared_&#039;,<br /> *&#160; &#160; &#160;&#039;sequences&#039; =&gt; &#039;shared_&#039;,<br /> *&#160; &#160;);<br /> *<br /> * Database URL format:<br /> * $db_url = &#039;mysql://username:password@localhost/database&#039;;<br /> * $db_url = &#039;pgsql://username:password@localhost/database&#039;;<br /> */<br /><strong>$db_url = &#039;mysql://mermaid:paris@localhost/drubase&#039;;</strong><br />$db_prefix = &#039;&#039;;</p><p>/**<br /> * Base URL:<br /> *<br /> * The URL of your website&#039;s main page. It is not allowed to have<br /> * a trailing slash; Drupal will add it for you.<br /> */<br /><strong>$base_url = &#039;http://www.siteart.com&#039;;</strong></p><p>/**<br /> * PHP settings:<br /> *<br /> * To see what PHP settings are possible, including whether they can<br /> * be set at runtime (ie., when ini_set() occurs), read the PHP<br /> * documentation at http://www.php.net/manual/en/ini.php#ini.list<br /> * and take a look at the .htaccess file to see which non-runtime<br /> * settings are used there. Settings defined here should not be<br /> * duplicated there so as to avoid conflict issues.<br /> */<br />ini_set(&#039;arg_separator.output&#039;,&#160; &#160; &#160;&#039;&amp;amp;&#039;);<br />ini_set(&#039;magic_quotes_runtime&#039;,&#160; &#160; &#160;0);<br />ini_set(&#039;magic_quotes_sybase&#039;,&#160; &#160; &#160; 0);<br />ini_set(&#039;session.cache_expire&#039;,&#160; &#160; &#160;200000);<br />ini_set(&#039;session.cache_limiter&#039;,&#160; &#160; &#039;none&#039;);<br />ini_set(&#039;session.cookie_lifetime&#039;,&#160; 2000000);<br />ini_set(&#039;session.gc_maxlifetime&#039;,&#160; &#160;200000);<br />ini_set(&#039;session.save_handler&#039;,&#160; &#160; &#160;&#039;user&#039;);<br />ini_set(&#039;session.use_only_cookies&#039;, 1);<br />ini_set(&#039;session.use_trans_sid&#039;,&#160; &#160; 0);</p><p>/**<br /> * Variable overrides:<br /> *<br /> * To override specific entries in the &#039;variable&#039; table for this site,<br /> * set them here. You usually don&#039;t need to use this feature. This is<br /> * useful in a configuration file for a vhost or directory, rather than<br /> * the default settings.php. Any configuration setting from the &#039;variable&#039;<br /> * table can be given a new value.<br /> */<br />//$conf = array(<br />//&#160; &#039;site_name&#039; =&gt; &#039;My Drupal site&#039;,<br />//&#160; &#039;theme_default&#039; =&gt; &#039;pushbutton&#039;,<br />//&#160; &#039;anonymous&#039; =&gt; &#039;Visitor&#039;<br />//);</p><p>?&gt;</p></div></blockquote></div><p>J&#039;obtiens toujours un message d&#039;erreur : <br />[img]The requested URL /example.com/ was not found on this server.[/img]</p><p>Quelqu&#039;un qui a déjà réalisé un site pourrait-il me dire comment faire pour rendre un site installé en local visible de l&#039;extérieur ?</p><p>Je vous remercie.</p><p>Mermaid.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mermaid)]]></author>
			<pubDate>Wed, 24 Aug 2005 23:30:34 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=73003#p73003</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Comment configurer site local pour que des utilisateurs se connectent]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=72395#p72395</link>
			<description><![CDATA[<p>Il faut regarder du coté de dyndns.org, qui permet de faire pointer un nom de domaine du genre xxx.dyndns.org vers une adresse IP.<br />Soit l&#039;adresse est statique et on la renseigne un fois pour toute, soit l&#039;adresse est dynamique et il faut régulièrement vérifier si l&#039;adresse à changée pour mettre à jour le site dyndns.oeg (voir le paquet &quot;ddclient&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (jdloic)]]></author>
			<pubDate>Tue, 23 Aug 2005 23:04:13 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=72395#p72395</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Comment configurer site local pour que des utilisateurs se connectent]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=72051#p72051</link>
			<description><![CDATA[<p>meme prob que moi on diré</p>]]></description>
			<author><![CDATA[dummy@example.com (laumane)]]></author>
			<pubDate>Tue, 23 Aug 2005 11:17:01 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=72051#p72051</guid>
		</item>
		<item>
			<title><![CDATA[Comment configurer site local pour que des utilisateurs se connectent]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=72045#p72045</link>
			<description><![CDATA[<p>Bonjour à tous,</p><p>J&#039;ai installé un site web en local sur ma machine. Pour me connecter j&#039;utilise l&#039;URL suivant:<br /><a href="http://localhost/monsite/siteart/">http://localhost/monsite/siteart/</a>.</p><p>Je voudrais configurer ce site local de manière à permettre à des utilisateurs distants de se connecter sur mon site. Mon site devra se comporter comme un serveur.</p><p>Quelqu&#039;un peut-il me dire où et quel fichier modifier pour permettre aux utilisateurs d&#039;y d&#039;accéder.</p><p>Je vous remercie.</p><p>Mermaid.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mermaid)]]></author>
			<pubDate>Tue, 23 Aug 2005 10:57:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=72045#p72045</guid>
		</item>
	</channel>
</rss>
