• searched archives and wiki without success, so i have to bother folk. apologies.

    how the heck does one create the needed ‘about’ file?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter randyqx

    (@randyqx)

    note, that while i am a sufficient geek to take emacs and create the file $BASE/about/index.html, it does not follow the theme, …

    None of your custom permalinks work, for example:

    https://blog.flybynighttravel.com/category/food/

    Is mod_rewrite supported on your server?

    Thread Starter randyqx

    (@randyqx)

    > Is mod_rewrite supported on your server?

    # grep -i rewrite /usr/local/etc/apache/httpd.conf
    LoadModule rewrite_module libexec/apache/mod_rewrite.so
    AddModule mod_rewrite.c

    # cat /usr/local/www/data-dist/wordpress/.htaccess
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>

    # END WordPress

    and error log whines

    File does not exist: /usr/local/www/data-dist/wordpress/category/food/

    Then I’m at a loss, since at the very least (with that single RewriteRule above), WordPress should be the one reporting errors, not the server.

    Thread Starter randyqx

    (@randyqx)

    note that this system is freebsd current with apache+mod_ssl-1.3.34+2.8.25_1 from the ports tree

    Thread Starter randyqx

    (@randyqx)

    https://blog.flybynighttravel.com/foo.php

    will give you the output of

    <?php

    // Show all information, defaults to INFO_ALL
    phpinfo();

    // Show just the module information.
    // phpinfo(8) yields identical results.
    // phpinfo(INFO_MODULES);

    ?>

    Thread Starter randyqx

    (@randyqx)

    i tried adding
    RewriteLog /var/log/httpd-rewrite.log
    restarting apache, and boinking some of the permalinks.

    nothing shows in log file! so is it that rewrite is not really there or is not being invoked?

    but https://blog.flybynighttravel.com/foo.php
    sure makes it look as if mod_rewrite is there.

    Like I said I’m at a loss as to the problem, but you can try this as your .htaccess to test mod_write:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^foo/$ /foo.php [L]

    Then see if

    https://blog.flybynighttravel.com/foo/

    Directs you to foo.php.

    Thread Starter randyqx

    (@randyqx)

    The requested URL /foo/ was not found on this server. (changed it back after test)

    so mod_rewrite seems not have been invoked. how to debug why?

    phpinfo() at https://blog.flybynighttravel.com/foo.php reports mod_rewrite as a loaded module. are other modules needed as precursors? what else should be in httpd.conf

    # grep -i rewrite /usr/local/etc/apache/httpd.conf
    LoadModule rewrite_module libexec/apache/mod_rewrite.so
    AddModule mod_rewrite.c
    RewriteLog /var/log/httpd-rewrite.log
    RewriteLogLevel 9

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘URL /about/ was not found on this server.’ is closed to new replies.