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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:02:09+00:00 2026-05-11T06:02:09+00:00

I have copied the files and database from BradPPresents.com to BradP.com . The .htaccess

  • 0

I have copied the files and database from BradPPresents.com to BradP.com.

The .htaccess file is required to get pages to display properly since ‘Pretty URLs’ are enabled by joomla!.

You can see that the database and all connections are working at http://bradp.com/index.php, however http://bradp.com/home.html does not work as it relies on the .htaccess file to parse the URL.

I copied the identical htaccess file from bradppresents.com (currently working fine) to bradp.com and I get ‘Internal server error’ when the file is present. As soon as it is deleted the error goes away, but of course the site does not work as needed.

I’m hoping someone can shine a little light on this for me.

Here’s the .htaccess file

RewriteEngine On RewriteBase /  RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|\.aspx|\.asp|/[^.]*)$  [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php  ## This attempts to block the most common type of exploit `attempts` to Joomla! # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L]  #max files size restrictions php_value upload_max_filesize 20M php_value post_max_size 20M 

Here’s the site configuration file from Apache.

<VirtualHost *:80>         ServerAdmin webmaster@localhost          DocumentRoot /home/nick/public_html/bradp.com/html/         <Directory />                 Options FollowSymLinks                 AllowOverride All         </Directory>         <Directory /home/nick/public_html/bradp.com/html/>                 Options Indexes FollowSymLinks MultiViews                 AllowOverride All                 Order allow,deny                 allow from all         </Directory>          ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/         <Directory '/usr/lib/cgi-bin'>                 AllowOverride None                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch                 Order allow,deny                 Allow from all         </Directory>          ErrorLog /var/log/apache2/error.log          # Possible values include: debug, info, notice, warn, error, crit,         # alert, emerg.         LogLevel warn          CustomLog /var/log/apache2/access.log combined         ServerSignature On      Alias /doc/ '/usr/share/doc/'     <Directory '/usr/share/doc/'>         Options Indexes MultiViews FollowSymLinks         AllowOverride None         Order deny,allow         Deny from all         Allow from 127.0.0.0/255.0.0.0 ::1/128     </Directory>  </VirtualHost> 

It’s essentially the default file with a few changes.

I really appreciate any help I can get; Thanks a million, Nick

  • 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. 2026-05-11T06:02:09+00:00Added an answer on May 11, 2026 at 6:02 am

    Look into your error log to see the exact error message.

    But since you say ‘copied’ in the first sentence, I assume you are moving from one host to another. The most likely cause then is that the rewrite module is not loaded on the new server.

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This does what you want and gets rid of the… May 12, 2026 at 1:03 am
  • Editorial Team
    Editorial Team added an answer This should do that: $(document).ready(function() { $("#clickMe").click(function() { var src… May 12, 2026 at 1:03 am
  • Editorial Team
    Editorial Team added an answer to make the size of text element bigger, insert all… May 12, 2026 at 1:03 am

Related Questions

Forgive me coder for I have sinned. I put some code into a dll
What is the correct way to work with SQLite in WPF and ASP.NET MVC?
I HAVE to be missing something really simple here! I have a database in
I am playing with class generation ( one class for a table - inheritance

Trending Tags

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

Top Members

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.