Reply to comment

Additional Aapche2 configurations

Don't forget to check the following Apache2 configurations at the live host:

1. rewrite mod is loaded at the host apache2 server (Ubuntu: copy the rewrite.load from the /etc/apache2/mods-available folder to the /etc/apache2/mods-enabled folder
restart apache2: in command line: sudo /etc/init.d/apache2 restart; confirm if rewrite mod is loaded in command line: apache2ctl -M; look for the rewrite mod towards the end of the list
2. if applicable: also in the .htaccess in the live site's root directory; set the "RewriteBase /" or "RewriteBase /sitename" according to the live's site's root URL by deleting the '#' sign in front of either line
3. Ubuntu: /etc/apache2/sites-enabled/000-default - virtual host must have "AllowOverride all" setting for the live site's alias
4. Make sure you have set the permission correctly on all the folders in the live site. When you copy the 'sites' folder over to the live site, make sure permissions on all folders in 'sites' folders are consistently set. It varies widely from host to host when this folder is uploaded via FTP or manually.
5. You may need to add the following setting in the php.ini in your live site's root:
"register_globals = off" along with file upload size and php memory size required for the live site's php settings. This of course assumes your live host is running php in cgi mode.

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <p> <br> <div> <img>
  • Lines and paragraphs break automatically.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Image links with 'rel="lightshow"' in the <a> tag will appear in a Lightbox slideshow when clicked on.
  • Links to video content with 'rel="lightvideo"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options