Page 1 of 1

redirected into WCMS subdirectory?

Posted: Sun 12. Jun 2005, 04:47
by Pageman
My installation seems to work, but when I log in or save changes I get redirected through the /WCMS/ subdirectory to a 404 error. It's easy enough to manually remove /WCMS/ from the path in my address bar, but i can't hand the site over to unskilled users asking them to modify the path in the address bar each time they log in or save an article. Any ideas why I'm getting directed to this path?

hXXp://myURL.com/MySubdirectory/login.php works, but returns to

hXXp://myURL.com/WCMS/MySubdirectory/phpwcms.php with 404 file not found error,

and when I correct that to
hXXp://myURL.com/MySubdirectory/phpwcms.php, i'm good to go, until the next save, when I have to do it again.

Posted: Sun 12. Jun 2005, 05:08
by Pappnase
hello

maybe you edit the conf.inc.php or you enter this subdir during the installation!?

Posted: Sun 12. Jun 2005, 08:45
by Pageman
vielen Dank,

That is at least partially correct. I found on line 6 of the config file hXXp://myURL/WCMS. I deleted the /WCMS suffix, and that resulted in no more redirections ... for now.

I don't recall editing that line to include anything other than my root URL, and the first times I logged into PHPWCMS online at that site, I wasn't getting the redirect, which led me to suspect it was a config algorithm in the PHP, but if there is no such algorithm, it must've been my error.