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

  • SEARCH
  • Home
  • 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 3800578
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:54:54+00:00 2026-05-19T13:54:54+00:00

Hello I wanted to upload my web project done with zend framework on my

  • 0

Hello
I wanted to upload my web project done with zend framework on my ftp server.
I have uploaded it to the public_html/projects/myproject directory (I uploaded whole folder structure, directories: application, docs, library, Obsolete, public, scripts, tests, Zend).
Now if I type http://www.mydomain.com/projects/myproject I see all these folders.
If I want to run project I have to type http://www.mydomain.com/projects/myproject/public

I am not really surprised with that because it’s exactly what I could expect, but I don’t know how to make all folders other than public inaccessible and I would like to run my project after http://www.mydomain.com/projects/myproject…
What should I do to achieve this goal?

Greetings!

  • 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-19T13:54:55+00:00Added an answer on May 19, 2026 at 1:54 pm

    You will have to put htaccess files in the root, projects and myproject directories to disallow access. I don’t know it by hand but it should be

    deny all
    

    Then in your apache config, might be a file named sites-enabled, there you should only need to add the directory config to the default host, e.g.:

    <virtualhost foobar:80>
        some crap here
        some more crap
        <Directory /projects/myproject/public>
            Options -Indexes FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    </virtualhost>
    

    That should make your site work.

    Remember to add the following to your project’s htaccess file:

    RewriteBase /projects/myproject
    

    Hope that helps.

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

Sidebar

Related Questions

I wanted to localizate some texts in my Zend Framework applicaiton. There are some
Essentially I have this <p>hello</p> <p>So I wanted just to say hi</p> <p>I hope
Hello friends I am running 2 applications on the same server and I wanted
Say I have a file called hello.txt which contains Hello World!. If I wanted
I have a Windows Server 2008 R2 (64bits) machine on which I wanted to
I have a string, char* str = HELLO If I wanted to get just
i have some code here: -(void)handleButton { NSLog(@hello); } and i wanted to connect
hello I am using zend framework and i am trying to combine it with
Hello I am new to MATLAB , I wanted to know how can I
Hello I have the following error by git-fsck, which cannot be cleaned by git-gc

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.