Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1003349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:58:00+00:00 2026-05-16T07:58:00+00:00

There is something strange going on. I am using Zend Framework on a subfolder

  • 0

There is something strange going on. I am using Zend Framework on a subfolder in a site. I have a modular structure to my website, so the links consist of module names (http://www.xx.com/modulename). I have created a .htaccess file for the root dir, so that all of the requests would be routed to the public dir.

When i try to access the homepage ( http://www.xx.com) or any module it all goes exactly as it should. http://www.xx.com/authentication, http://www.xx.com/sample or http://www.xx.com/deathmetalreallyrox are all working as they should. But when I try to connect to http://www.xx.com/admin, it crashes and BURNS!!!! It does work however with http://www.xx.com/public/admin/.

Could it be, that my Hosting provider has set up some sort of rule in the httpd.conf to prevent me from accessing the admin section in my hosting?
Here’s my .htaccess:

SetEnv APPLICATION_ENV development

RewriteRule  ^(browse|config).*  - [L]
ErrorDocument 500 /error-docs/500.shtml
SetEnv CACHE_OFFSET 2678400
SetEnv APP_DOMAIN http://www.xx.com/public
SetEnv APP_PREF /public

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Fri, 25 Sep 2037 19:30:32 GMT"
Header unset ETag
FileETag None
</FilesMatch>

RewriteEngine On
RewriteRule ^(adm|statistics) - [L]
RewriteRule ^admin/(.*) public/admin/$1
RewriteRule ^(.*)$ public/$1 [L]

Help?

EDIT:
Browser error msg:

Not Found

The requested URL /admin/ was not found on this server.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:58:00+00:00Added an answer on May 16, 2026 at 7:58 am

    It turned out, that the server was somehow configured wrongly.

    As I do not have the total control over the server, I couldn’t know, that there was a rule in the httpd.conf, that denied access to any folder named admin or administrator, so that when I tried to get the contents of a folder by this name, Apache first checked, if a folder by this name existed, and denied it by default.

    So, the concise answer, the server was configured wrongly, didn’t allow access to specific folders.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 490k
  • Answers 490k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'd probably go for John's sed solution but, since you… May 16, 2026 at 9:51 am
  • Editorial Team
    Editorial Team added an answer I installed MacPorts from http://macports.org and then ran sudo port… May 16, 2026 at 9:51 am
  • Editorial Team
    Editorial Team added an answer var index = $('#someID > li').index( element ); index May 16, 2026 at 9:51 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have been doing spring cleaning in my app. I noticed something strange, that,
I'm seeing something very very strange happening in a Flex app I'm maintaining. I've
I'm using .NET 4 and the Entity Framework to construct a simple query. Here's
Is there something similar to save for the update task? If I want to
When I tap it, it opens with Opera. Is there something similar to the
I've seem to implement all the right code here. Is there something I'm missing
I'm using Automake to maintain the package, there are some shell scripts which don't
I've written a wrapper program for mailx using perl that allows me to easily
I'm currently using the awesome attachment-fu plugin for a Rails app, but as a
I have several UIViews and UIImageViews that are loaded inside a UIScrollView. Each page,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.