Pages

Wednesday, May 9, 2012

Configure wamp on windows7

One of the problems encountered during wamp installation on a windows 7 system is the following error:
"you don't have permission to access /phpmyadmin/ on this server"
This error can be rectified by changing the file content in c:\wamp\alias\phpmyadmin.conf

Before:
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>

After:
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>

Saturday, May 5, 2012

Remove extra spaces in dreamweaver

  • While the document is open in Dreamweaver, press CTRL+F. Do the search on the source code view.
  • Check the box “Use regular expression” and uncheck any other boxes.
  • Find: [\r\n]{2,}
  • Replace: \n
  • Click “replace all”