Logo
My Journal
Blog

Timeline

Blog

Test if local SMTP server is running

To test if a local SMTP server is running, you can try to ping the port 25 $ echo -e "quit" | nc localhost 25 [php]220 ubuntu ESMTP Postfix (Ubuntu) 221 2.0.0 Bye If no SMTP server is listening[/php] $ echo -e "quit" | nc localhost 25 [php]localhost.localdomain [127.0.0.1] 25 (?) : Connection ref...

Continue reading ...

Exclude folder from htaccess rewrites

When you are running a CMS, or for example a Blog you might also have SEO url's enabled through .htaccess rewrites. A common problem with these rewrites can be that you are no longer able to install a second application in a subfolder since those foldernames are included in the rewrites and can caus...

Continue reading ...

How can I do a 301 redirect?

Here are some basic 301 redirect examples via the .htaccess text file (please create or upload this file in the folder you want to perform the redirect from). For example placing the .htaccess file into the /xmodx.com/web/content/ folder (via FTP), will perform the redirect when a visitor goes to h...

Continue reading ...
Tags: , , , , Next Page »« Previous Page

Leave a Reply

Your email address will not be published. Required fields are marked *