Search:

Type: Posts; User: mdmcginn; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,619

    Here's the solution from...

    Here's the solution from http://forum.modrewrite.com/, assuming all my files end with html:


    Options +FollowSymLinks -MultiViews

    RewriteEngine On

    # force www.
    RewriteCond %{HTTP_HOST} ....
  2. Replies
    8
    Views
    1,619

    Not exactly. This leaves me with several URLs...

    Not exactly. This leaves me with several URLs pointing to the same content (and Google doesn't like duplicate content).

    The mod_rewrite solution suggested by Elite gives error 500. But of course,...
  3. Replies
    8
    Views
    1,619

    Thanks so much! I added the line "Options...

    Thanks so much!

    I added the line "Options +MultiViews" to my .htaccess file. That got it working with URLS such as mysite.com/index/ (I had to add a slash at the end) but then my relative links...
  4. Replies
    5
    Views
    1,488

    Here's a good Sitepoint article about Caching...

    Here's a good Sitepoint article about Caching with PHP/MySQL

    Gzipping is not caching, but it can help performance. I put these lines in my php.ini file:

    zlib.output_compression = ON;...
  5. Replies
    3
    Views
    1,120

    You mean...

    You mean http://forums.dathorn.com/showthread.php?t=216 ?
  6. Replies
    8
    Views
    1,619

    Content negotiation for extensionless URLs?

    In the spirit of Tim Berners-Lee's article Cool URIs don't change, I'm interested in using content negotiation in my .htaccess file, so that I can leave off extensions from my URLs. For example, so I...
  7. Replies
    5
    Views
    1,285

    Here's the answer to my question. I put these...

    Here's the answer to my question. I put these lines in php.ini and now all my pages are gzipped:


    zlib.output_compression =ON;
    zlib.output_compression_level = 1;
  8. Replies
    5
    Views
    1,285

    mod_gzip in htaccess?

    How do we put mod_gzip in htaccess, to speed up the whole site? This code didn't do it.


    <IfModule mod_gzip.c>
    mod_gzip_on yes
    </IfModule>

    But this code worked, when I put it in each file:
  9. Replies
    29
    Views
    6,889

    Thanks ZYV! Here is a hint from php.net: To...

    Thanks ZYV! Here is a hint from php.net:

    To be sure only pages are called you want the user to call, use something like this:


    <?php
    $path = 'pages/';
    $extension = '.php';

    if (...
  10. Thread: SPF: How to..

    by mdmcginn
    Replies
    2
    Views
    2,936

    Thanks! I used your example. I found that...

    Thanks! I used your example.

    I found that "v=spf1 a mx mx:cpanelxx.gzo.com ~all" worked best for me, since I only use my Dathorn SMTP mailservers, not my ISP's, and the cpanel server name is what...
  11. Replies
    6
    Views
    4,303

    SPF (http://www.openspf.org/) (if it ever became...

    SPF (if it ever became common) would reduce this problem. I added the following TXT record to my DNS zone, to signal that any email from mydomain.com that didn't go through mail.mydomain.com didn't...
  12. Replies
    2
    Views
    1,762

    One solution is at...

    One solution is at http://forums.dathorn.com/showthread.php?p=13323
  13. Replies
    29
    Views
    6,889

    htaccess codes that finally worked for me

    This is what worked for me.

    This .htaccess line allows you to rename PHP files as HTM files instead, so you can put PHP code on the page. It treats mypage.htm as if it were mypage.php:

    ...
  14. Replies
    6
    Views
    1,545

    Custom nameservers on cpanel40

    I can see all my domains in WHM now. Thanks. But I seem to have lost my custom nameserver records in DNS. Now I see dns79 and 80 when I lookup DNS records in nwtools.com. My domain registrar lists my...
  15. Replies
    6
    Views
    1,545

    Status on cpanel26 upgrade?

    What is the status on the cpanel26 upgrade? Are you halfway done? Any problems so far with cpanel40?
  16. Replies
    29
    Views
    6,889

    I was told to add this to my htaccess file: ...

    I was told to add this to my htaccess file:

    <Files article>
    ForceType application/x-httpd-php
    </Files>

    to force any file named "article" to be treated as a PHP file.

    But after creating...
  17. Thread: Tertiary DNS

    by mdmcginn
    Replies
    4
    Views
    5,333

    Using two different DNS servers or hosting...

    Using two different DNS servers or hosting servers means that if one server is down, your site is guaranteed to be unreachable half the time, even if your "primary" (favorite) one is working fine. A...
  18. Replies
    3
    Views
    4,458

    When I opened a trouble ticket, Andrew gave me...

    When I opened a trouble ticket, Andrew gave me access to edit zone records, and it was easy to fix these problems. I just change the gzo entries to my own (stealth) DNS entries (ns1.mydomain.com.,...
  19. Thread: spam fighting

    by mdmcginn
    Replies
    11
    Views
    3,492

    I think you're right. This should be the correct...

    I think you're right. This should be the correct DNS record, and it's for an IP, not for a domain, so only Andrew can change it:

    69-56-176-98.theplanet.com. IN TXT "v=spf1 a -all"
  20. Replies
    3
    Views
    4,458

    I like dnsreport better than checkdns. ...

    I like dnsreport better than checkdns.

    johngute, I think all you're saying is not to use custom nameservers. But custom nameservers are one thing I like about Dathorn. How can we fix the problem...
  21. Thread: spam fighting

    by mdmcginn
    Replies
    11
    Views
    3,492

    Oh okay, I think I could put the SPF record in...

    Oh okay, I think I could put the SPF record in the zone template in WHM. But I can't change the DNS myself,
  22. Thread: spam fighting

    by mdmcginn
    Replies
    11
    Views
    3,492

    I heard that October 1 was a goal for setting up...

    I heard that October 1 was a goal for setting up SPF, and major players are checking for it. I went to http://spf.pobox.com/ but how do I suggest I fill out the wizard form? What are the Dathorn...
Results 1 to 22 of 23