Log in with username/password: lyceum/lyceum

Ticket #542 (reopened defect)

Opened 2 years ago

Last modified 6 months ago

404 Not Found errors after clean install

Reported by: info@ipassion.it Assigned to: jjb
Priority: high Milestone: 0.32
Keywords: install, 404, not found, login, register Cc:

Description

I've installed both Milestone and RC releases under MAC OS X 10.3.9 w/Apache PHP and MySQL. After a fresh install (made in a subdirectory of my webroot, moved dirs accordingly to installation instructions) when I click on Login, Register or whatever Lyceum tries to connect to http://192.168.1.8/lyceum/login or http://192.168.1.8/lyceum/register

There is no way it will find anything named like that in the lyceum directory. So I get a 404 Not Found error. How is this supposed to work? Am I missing something?

TIA -- Mauro.

Change History

06/19/06 17:57:54 changed by jjb

  • priority changed from normal to high.

info@ipassion.it-

thanks for the feedback! a few things to check:

  1. is it successfully writing an .htaccess file in src/lyceum ?
  2. are you sure that you have your settings correct in wp-config.php? no trailing slash for WEBROOT, don't use localhost for MAINDOMAIN

report back here and let us know how it goes

06/22/06 17:32:08 changed by jjb

  • status changed from new to closed.
  • resolution set to worksforme.

I can't reproduce, this, I'm assuming it's an issue with the .htaccess file not getting written. info@ipassion.it-- if you get any more information, let us know. Thanks!

01/31/08 14:48:34 changed by lyceum

  • status changed from closed to reopened.
  • resolution deleted.

I am encountering this issue as well.

Lyceum says it has installed correctly, and I have verified that all tables have been created in my database. But when I go to /login or /register, I get a 404 not found. My .htaccess file exists, and here's the content of it (is it possible that something is being incorrectly written within the .htaccess?.


# BEGIN Lyceum

	RewriteEngine On

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^profile/?                        wp-admin/profile.php   [L,QSA]
	RewriteRule ^login/?                          wp-login.php           [L,QSA]
	RewriteRule ^register/?                       wp-register.php        [L,QSA]


	#######################################################################
	#
	# Build Base URL for Redirects / stored in Apache %{ENV:rwbaseurl}
	#
	#######################################################################
	RewriteCond %{HTTPS} =on
	RewriteRule .* - [E=rwscheme:https,S=1]
	RewriteRule .* - [E=rwscheme:http]
	
	# if (HTTPS && port != 443) { use explicit port (eg. :8080), then skip next rule }
	RewriteCond %{HTTPS} =on
	RewriteCond %{SERVER_PORT} !=443
	RewriteRule .* - [E=rwport:\:%{SERVER_PORT},S=1]
	
	# else if (port != 80) { use explicit port }
	RewriteCond %{SERVER_PORT} !=80
	RewriteRule .* - [E=rwport:\:%{SERVER_PORT}]
	
	# Build complete server portion of url, without trailing slash.
	# Using HTTP Header field "Host:",  as mod_rewrite's use of HTTP_HOST and SERVER_NAME
	# appears to be inconsistent. Subdomains were sometimes rewritten as parent domain. Cause unknown.
	RewriteRule .* - [E=rwbaseurl:%{ENV:rwscheme}\://%{HTTP:Host}%{ENV:rwport}]

	# Send Redirect
	RewriteRule ^admin$                           %{ENV:rwbaseurl}/admin/ [R=301,L]

	RewriteRule ^([^/]+)/admin$                   /$1/admin/ [R=301,NC,L]
	RewriteRule ^([^/]+)/admin/$                  wp-admin/index.php?b=$1 [L]
	RewriteRule ^([^/]+)/admin/([^/]+php)\??(.*) wp-admin/$2?b=$1    [L,QSA]
	RewriteRule ^([^/]+)/admin/([^/]+js)         wp-admin/$2      [L]
	RewriteRule ^([^/]+)/wp-includes/(.*)         wp-includes/$2       [L]
	RewriteRule ^([^/]+)/wp-content/(.*)          wp-content/$2        [L]
	RewriteRule ^([^/]+)/wp-admin/(.*)            wp-admin/$2?b=$1   [L,QSA]
	RewriteRule ^([^/]+)/xmlrpc.php               xmlrpc.php?b=$1         [L,QSA]
	RewriteRule ^([^/]+)/wp-comments-post(.*).php wp-comments-post$2.php [L,QSA]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^([^/]+)/?                        index.php?b=$1           [L,QSA]

# END Lyceum



Log in with username/password: lyceum/lyceum