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 3343860
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:00:11+00:00 2026-05-18T01:00:11+00:00

im trying to install phprojekt 6.0.4. I see the directory structure doesnt allow to

  • 0

im trying to install phprojekt 6.0.4.
I see the directory structure doesnt allow to put the whole content into my public html folder and directly access it, as it has a htdocs folder in which normally my vhost docroot conf should point to.

So i want to change the .htaccess file in the root directory so every access to the root directory internally redirects to htdocs/ folder.

Im not able to get this running without 500 INTERNAL Errors.

I use these two lines to redirect.

RewriteEngine On
RewriteRule / htdocs/

So i whenever someone access the root folder of phprojekt, apache should point to htdocs/, it like trying to change the docroot from the root to the subfolder htdocs/.
How do i get this running?

  • 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-18T01:00:12+00:00Added an answer on May 18, 2026 at 1:00 am

    Assuming you’re not able to just change the DocumentRoot, try something like this:

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !htdocs
    RewriteRule (.*) htdocs/$1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to install the RMagick gem is failing with an error about being unable
I'm trying to install a .NET service I wrote. As recommended by MSDN, I'm
I'm trying to install Laconica , an open-source Microblogging application on my Windows development
I'm trying to install 'quadrupel', a library that relies on ffmpeg on Solaris x86.
I'm trying to install some Ruby Gems so I can use Ruby to notify
I am trying to install the ibm_db gem so that I can access DB2
I'm trying to install a service using InstallUtil.exe but invoked through Process.Start . Here's
I'm trying to install GODI on linux (Ubuntu). It's a library management tool for
I am trying to install newgem on my linux box (sudo gem install newgem)
I am trying to install PHP onto my development box (XP SP3 / IIS

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.