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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:05:23+00:00 2026-06-18T08:05:23+00:00

I am facing a similar problem to Problems with mod_rewrite and mod_userdir But with

  • 0

I am facing a similar problem to

Problems with mod_rewrite and mod_userdir

But with WHM and I do not know the best way to start.

mod_rewrite goes to /usr/local/apache/htdocs/ when it should go to the user’s userdir file at /home/user/public_html. The exact error is

File does not exist: /usr/local/apache/htdocs/index.php, referer: http://<my ip>/~*user*/default.php

I thought about modifying httpd.conf but saw a lot of errors saying re-configuring WHM will erase modifications.

I also looked through the WHM docs and saw the open_basedir tweak: http://docs.cpanel.net/twiki/bin/view/11_32/WHMDocs/TweakPhp

I thought I would ask first to avoid random troubleshooting as I have live sites on the 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-06-18T08:05:24+00:00Added an answer on June 18, 2026 at 8:05 am

    In my .htaccess, I had

    RewriteBase /
    

    I changed it to

    RewriteBase /~<user>/
    

    Example:

    RewriteBase /~myusername/
    

    and now it’s working.

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

Sidebar

Related Questions

Facing a problem, it seems my data stored in SQL Server does not stored
I am facing a problem similar to the one described in Invalidating JPA EntityManager
I am facing the problem similar to How to Force a jar to uses(or
I am facing a similar issue to the problem faced by the similar StackOverflow
I'm facing a very similar problem as I'm trying to install psycopg2 onto Mac
I'm facing a pretty similar issue on which I already made a ticket but
I am facing a similar problem to this question has anybody found a solution
One problem that I am facing is having many queries with similar select statements
Iam facing problem in understanding and converting a matlab code into opencv. I want
iam facing problem in passing array to view. this is my controller code.. function

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.