Problem with /admin path on Apache

OK, so I have www.somesite.com hosted on my server, and it is the ServerName in httpd.conf

I also have www.anothersite.com hosted on my server as a virtual host.

Both of these work fine. Here's where it gets tricky - both of the packages use a /admin in the address to access the admin panel. When I try to go to www.anothersite.com/admin, I wind up at the www.somesite.com/admin instead. I'm at a loss to explain it, as the admin directory for anothersite is in the anothersite directory as it should be.

Am I just missing something blatantly obvious? And yes, I know I could rename things, but I would rather figure out why it doesn't work as expected than hack it so that it does work.

update: if I do change the admin folder for anothersite, I get a directory not found error with apache trying to stick /admin2 onto somesite.com

Resolved: Friggin' missing ServerName… grumble grumble

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct