• I have installed WordPress on a NetBSD box. When I go to the login url
    http://myhost.mydomain.dom/wp-login.php” I get the login page and can login. However when I login I get a directory listing of the files in “http://myhost.mydomain.dom/wp-admin”. When I click on index.php in this directory I get the main Dashboard page and WordPress works. I can use the application. However when I click on visit site or view any page I get sent back to a directory listing of “http://myhost.mydomain.dom/”. I suspect an apache config problem but I don’t know enough about apache to take it any further. Php is working, I installed PHPMyadmin and can manage MySql with it. Anybody seen anything like this before or have any I ideas. I’m stumped.

    Server version: Apache/2.2.11 (Unix)
    Server built: Jan 7 2009 01:16:13
    Compiled in modules:
    core.c
    mod_authn_file.c
    mod_authn_dbm.c
    mod_authn_anon.c
    mod_authn_dbd.c
    mod_authn_default.c
    mod_authn_alias.c
    mod_authz_host.c
    mod_authz_groupfile.c
    mod_authz_user.c
    mod_authz_dbm.c
    mod_authz_owner.c
    mod_authz_default.c
    mod_auth_basic.c
    mod_auth_digest.c
    mod_isapi.c
    mod_file_cache.c
    mod_cache.c
    mod_disk_cache.c
    mod_mem_cache.c
    mod_dbd.c
    mod_bucketeer.c
    mod_dumpio.c
    mod_echo.c
    mod_example.c
    mod_case_filter.c
    mod_case_filter_in.c
    mod_ext_filter.c
    mod_include.c
    mod_filter.c
    mod_substitute.c
    mod_charset_lite.c
    mod_deflate.c
    mod_log_config.c
    mod_log_forensic.c
    mod_logio.c
    mod_env.c
    mod_mime_magic.c
    mod_cern_meta.c
    mod_expires.c
    mod_headers.c
    mod_ident.c
    mod_usertrack.c
    mod_unique_id.c
    mod_setenvif.c
    mod_version.c
    mod_proxy.c
    mod_proxy_connect.c
    mod_proxy_ftp.c
    mod_proxy_http.c
    mod_proxy_ajp.c
    mod_proxy_balancer.c
    mod_ssl.c
    prefork.c
    http_core.c
    mod_mime.c
    mod_dav.c
    mod_status.c
    mod_autoindex.c
    mod_asis.c
    mod_info.c
    mod_cgi.c
    mod_cgid.c
    mod_dav_fs.c
    mod_dav_lock.c
    mod_vhost_alias.c
    mod_negotiation.c
    mod_dir.c
    mod_imagemap.c
    mod_actions.c
    mod_speling.c
    mod_userdir.c
    mod_alias.c
    mod_rewrite.c
    mod_so.c

Viewing 2 replies - 1 through 2 (of 2 total)
  • In your httpd.conf file you should have the following somewhere:

    <IfModule dir_module>
        DirectoryIndex index.html index.php
    </IfModule>

    I suspect that the ‘index.php’ is missing.

    Thread Starter denisp

    (@denisp)

    apljdi,

    Perfect!

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Netbsd apache problem’ is closed to new replies.