Zen Cart Logo
Forums / General Questions / custom 404 error when changing the admin name

custom 404 error when changing the admin name

Locked

Views: 957

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
23 Oct 2010, 10:19 AM
#1
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

custom 404 error when changing the admin name

Hi, I have changed the name of my admin folder but when i try to access it I get the standard Zen Cart custom 404 page not found error.

I have changed the admin folder name and the three entries that need changing in the Admin>Includes>configure.php

All are the same and correct.

for example, i changed

https://www.example.com/admin1 (worked)
to
https://www.example.com/admin2 (404 error)

I know my name changes are correct because if I go to
**https://www.example.com/admin2/login.php**I can then log in and use the admin OK

I have dumped all cacche and clreaned the DNS on my PC, I have tried accessing on another PC and the same happens.

Is this normal? I thought it best to ask.
(using on 1.3.9g)

23 Oct 2010, 11:24 AM
#2
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: custom 404 error when changing the admin name

Please note, if this is a bug, I think it is a a good bug (undocumented feature :wink:).

As if someone guesses the name of the admin folder they would still not get anywhere unless they have the knowledge to type /index.php or login.php after the newly named admin.

But I would still like a dev/support member to comment, in case I have done something wrong or it is a sign to another possible problem.

Thanks
Ray

23 Oct 2010, 9:54 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: custom 404 error when changing the admin name

It's not a ZC bug.
Seems like something amuck with the Default Document in your hosting configuration.

24 Oct 2010, 12:04 PM
#4
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: custom 404 error when changing the admin name

sorry, you have lost me. What is the default doucment?
Also, this only happens on 1.3.9g on my server. A quick test install of 1.3.8a and the same problem does not occur.

Any advice? Or need i not worry about it?

26 Oct 2010, 8:45 AM
#5
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: custom 404 error when changing the admin name

Can anyone help me understand what DrByte said?
What is the general document?

What do i need to change? or need I not worry about the internal 404 page showing after the admin renaming so long as i can access it via https://www.example.com/admin2/login.php

26 Oct 2010, 9:00 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: custom 404 error when changing the admin name

ray-the-otter:

Can anyone help me understand what DrByte said?
What is the general document?I said Default Document, not general document.
Which is also an alias for Apache's DirectoryIndex directive. A quick google for either brings up articles like this one: http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex
That's something for your hosting company to handle for you, unless of course you're a hosting expert, in which case you wouldn't be asking these questions.
Log a ticket with your hosting company so they can sort out your problem for you.
ray-the-otter:

What do i need to change? or need I not worry about the internal 404 page showing after the admin renaming so long as i can access it via https://www.example.com/admin2/login.phpYou don't need to worry about it. Clearly you know how to work around the inconvenience. No doubt you've already bookmarked it anyway.

Surely you have more important things to do than hunt down a 404 error in software you dumped many months ago because it didn't suit your needs, right?

26 Oct 2010, 11:14 AM
#7
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: custom 404 error when changing the admin name

DrByte:

I said Default Document, not general document.
Hi, thanks for replying and sorry i miss read, I don't know why i mixed up the words 'General' and 'Default'?

DrByte:

You don't need to worry about it. Clearly you know how to work around the inconvenience. No doubt you've already bookmarked it anyway.
I'm no hosting guru, just learning the ins-and-outs of Zen Cart. I'll drop them a support ticket. But if you say I need not worry then I am not fussed. I was just worried it might have been a sign of some deeper problem.

DrByte:

Surely you have more important things to do than hunt down a 404 error in software you dumped many months ago because it didn't suit your needs, right?
I have not deleted/dumped anything?? I wouldn't even know what to dump. But my host have moved over from Parallels Pro to CPanel. Maybe that's the cause? Though i do not have this problem with 1.3.8a

Thanks again for clearing thins up for me, so long as my store is safe, it's all good.