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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:57:58+00:00 2026-06-03T05:57:58+00:00

How are you? Summary: I’m trying to move my website from localhost to amazon-ec2

  • 0

How are you?

Summary: I’m trying to move my website from localhost to amazon-ec2 and almost any route brings “The requested URL example.com/xxx/yyy/ was not found on this server.

Context:

  • Using codeigniter structure in public_html, applications and system.
  • Web language in the URI. Example: localhost/public_html/es/main.
  • For testing, one page (register) it’s routed differently: localhost/public_html/admin/register.
  • The page works from localhost.

Issue:
I uploaded the page to my EC2, and when I try to access, almost every page shows the 404 error. Just register page works, but only if I call it via example.com/index.php/admin/register (example.com/admin/register carries the same 404 error).

Any advice or idea to explore would be very welcome!! Thanks!!

PS: In case it helps, I’m sharing my current routes.php code.

$route['default_controller'] = "main";
$route['404_override'] = '';
$route['^(en|es)/(.+)$'] = "$2";
$route['^(en|es)$'] = $route['default_controller']; 
  • 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-03T05:57:59+00:00Added an answer on June 3, 2026 at 5:57 am

    The issue was in the httpd.conf, where “AllowOverride” for public_html (where I had the .htacces file) was set at “None”.

    I just had to change it to All.

    Thanks AchrafSoltani and Grigorash for the try, very appreciated!

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

Sidebar

Related Questions

Summary: I'm trying to get video from IP camera in emgu, I could display
Summary: I want to to create a templateField resulting from a database after calling
SUMMARY: When browsing an ASP.NET website using Windows Explorer, popup windows do not borrow
Summary: I'm trying to write a text string to a column of type varchar(max)
Summary: ASP.Net website with a couple hundred users. Data is exported to Excel files
Summary: exporting pixel data from NSOpenGLView to some file formats gives incorrect colours I
Summary: I am pulling a list of user IDs from a members transaction table
Summary: How can I create a singleton mixin in C++? I am trying to
Summary: I have a bunch of C functions I have to call from C#.
Summary: How do I configure my facebook application to request additional information from the

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.