Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
Like Tree2Likes

Nginx no htaccess and no downloads?

This is a discussion on Nginx no htaccess and no downloads? within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; I can't use htaccess since I'm using nginx and skipped that step, now I notice there are no bots active ...

  1. #1
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times

    Nginx no htaccess and no downloads?

    I can't use htaccess since I'm using nginx and skipped that step, now I notice there are no bots active in the download log, also Bing & Yahoo have failed the ping. What can I do?

    Are there specific instructions for nginx ?

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    I am not sure what you are actually asking as bot activity has nothing to do with Downloads Log.
    Yahoo discontinued their ping service.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    Well the problem is no sitemap downloads. Do you have experience with nginx setup?

    Edit: actually it does mention 'bot' there?

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello,

    I just checked one of your sites and I saw that the URLs are not being rewritten there. Did you add the vBSEO rules to your nginx configuration file for that *specific* instance? (find the download package->htaccess folder->nginx.txt file)

    If so, then I still don't get the issue you're having here.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    It's about the other site, I have one forum where I do not use vbseo atm for testing.

    On the forum where rewrites work I need to get the Sitemap plugin working...

  6. #6
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    What are the rules you are using within the nginx config file?
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    This is what I have

    --
    server {
    listen 85.17.59.138:80;
    server_name forum.dutchbodybuilding.com;
    root /var/www/forum.dutchbodybuilding.com/public_html;

    access_log /var/www/forum.dutchbodybuilding.com/logs/http_access;
    error_log /var/www/forum.dutchbodybuilding.com/logs/http_error;

    index index.html index.php;

    location /. {
    return 404;
    }

    if (!-e $request_filename) {
    rewrite ^/(.*)$ /vbseo.php last;
    }

    location ~ .php$ {
    expires off;
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    }

    client_max_body_size 150M;


    }
    --

  8. #8
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    our default file is given:
    Code:
    location /forums/ {
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    try_files $uri $uri/ /forums/vbseo.php?$args;
    }
    
    location ~ /forums/(.*\.php)$ {
    rewrite ^/forums/(.*)$ /forums/vbseo.php last;
    }
    location /forums/vbseo/(includes|resources/html|resources/xml)/ {
        allow      127.0.0.1;
        deny      all;
    }
    You simply don't have the proper rules in place and they needed to be added

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    if you are in root you can remove the 'forums/' prefix

  10. #10
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    Thanks and I did look at the Sitemap instructions but couldn't find this. We'll try it.

  11. #11
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    vBSEO 3.6.0 Readme File
    -> Installing under other servers
    -> Nginx
    dutchbb likes this.
    Brian Cummiskey / Crawlability Inc.
    Security vbulletin - Patch Level for all supported versions released!

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #12
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    I see, thanks.

  13. #13
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    Problem with this part:

    --
    location / {
    rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/ vbseo_getsitemap.php?sitemap=$1 last;
    try_files $uri $uri/ /vbseo.php?$args;
    }
    --


    I get this error:

    "[emerg]: invalid number of arguments in "rewrite" directive"

  14. #14
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Do you get that error with the vBSEO default ruleset? or with a custom one?

    You seem to be missing:

    include fastcgi_params;

    Somewhere. What is the full ruleset that you're using?
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  15. #15
    Senior Member
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    822
    Liked
    1 times
    When I use the code from this post it works: howto for nginx ???

    So why the one from the install package doesn't work I have no idea. Maybe you can guess.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. vBulletin 4.x Converting .htaccess 301 redirect to nginx
    By DevOne5555 in forum Troubleshooting
    Replies: 6
    Last Post: 06-30-2011, 12:00 PM
  2. nginx in htaccess folder
    By m7shsh in forum General Discussion
    Replies: 12
    Last Post: 11-27-2010, 07:07 PM
  3. Replies: 2
    Last Post: 12-24-2009, 04:52 AM
  4. nginx
    By Smiggy in forum Pre-Sales Questions
    Replies: 1
    Last Post: 01-07-2009, 01:21 PM
  5. nginx
    By fras in forum General Discussion
    Replies: 3
    Last Post: 01-25-2008, 06:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •