<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">It sounds like Drupal is storing
absolute URL's. First thing's first, clear Drupal's cache! If that
doesn't fix it, then turn on CSS and JS aggregation. If you do
that and CSS and JS load, then you got something rewriting image
URL's in your Drupal (you don't have the CDN module installed by
chance, do you?). Also where are the images coming from? Are they
inside of nodes? If so, then there's a chance the images are
inserted into the body field using absolute URL's, which some
modules do and/or have settings for. If that's the case, then the
fix is either doing a MySQL search and replace on the affected
fields, or a custom filter to preg_replace the URLs. <br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
On 11/17/2014 1:37 PM, Néstor wrote:<br>
</div>
<blockquote
cite="mid:CAON-vCMOPkMfrJQFiRtswyL8opqs1QKwdO=GG5CH2tYoaJbo6A@mail.gmail.com"
type="cite">
<div dir="ltr">HI,
<div><br>
</div>
<div>I have a site working on rhel5.11 and I need to transfer it
to ubuntu but images point to <a moz-do-not-send="true"
href="http://www.mysite.com:81/">www.mysite.com:81/</a><span
style="background-color:rgb(255,255,0)">sites/default/files/images</span>/
instead of <a moz-do-not-send="true"
href="http://www.mysite.com:81/">www.mysite.com:81/</a><span
style="background-color:rgb(255,255,0)">sdcwa/sites/default/files/images</span><br>
</div>
<div><br>
</div>
<div>I am new to Ubuntu, I just do not know what else to do. I
tried following certain</div>
<div>tutorials but to no effect.</div>
<div>I was able to install drupal6 and run it but I am not able
to run my drupal 6 site sdcwa.</div>
<div><br>
</div>
<div>HELP HELP HELP..........</div>
<div><br>
</div>
<div>I have tried setting it on several files but no luck</div>
<div><span style="background-color:rgb(255,255,0)">setting.php</span></div>
<div>
<div># $base_url = '<a moz-do-not-send="true"
href="http://www.example.com">http://www.example.com</a>';
// NO trailing slash!</div>
<div>$base_url = '<a moz-do-not-send="true"
href="http://www.mysite.com:81/sdcwa">http://www.mysite.com:81/sdcwa</a>';
// NO trailing slash!</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>on my<span style="background-color:rgb(255,255,0)">
.htaccess</span></div>
<div>
<div>RewriteBase /sdcwa</div>
<div><br>
</div>
<div> # Rewrite URLs of the form 'x' to the form
'index.php?q=x'.</div>
<div> RewriteCond %{REQUEST_FILENAME} !-f</div>
<div> RewriteCond %{REQUEST_FILENAME} !-d</div>
<div> RewriteCond %{REQUEST_URI} ^/sdcwa/</div>
<div> RewriteCond %{REQUEST_URI} !=/favicon.ico</div>
<div> RewriteRule ^(.*)$ /sdcwa/index.php?q=$1 [L,QSA]</div>
<div></IfModule></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>and <span style="background-color:rgb(255,255,0)">000-default.conf</span></div>
<div>
<div><VirtualHost *:81></div>
<div># Alias /sdcwa /var/www/html/sdcwa</div>
<div> <a moz-do-not-send="true"
href="mailto:ServerAdminroot@mysite.com">ServerAdminroot@mysite.com</a></div>
<div> DocumentRoot /var/www/html/sdcwa<br>
</div>
<div> <Directory /var/www/html/sdcwa></div>
<div> Options +FollowSymLinks</div>
<div> AllowOverride All</div>
<div> Order allow,deny</div>
<div> Require all granted</div>
<div> Allow from All</div>
<div><br>
</div>
<div> </Directory> </div>
<div></VirtualHost></div>
<div><br>
</div>
</div>
<div>THANKS!!!</div>
<div><br>
</div>
<div>Nestor</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>