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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:32:03+00:00 2026-05-30T10:32:03+00:00

This is literally my first day using PHP. I’ve never seen it until today,

  • 0

This is literally my first day using PHP. I’ve never seen it until today, so please go easy on me. I can’t understand why one of the urls doesn’t work.

/* http://localhost works so I know this path is all set up */

Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));

/* http://localhost/pages/ or http://localhost/pages/about is 
"Requested URL pages not found" even though it points 
to the same known working path */

Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display', 'home'));

I have Configure::write('debug', 2); in core.php.

In this same Ubuntu box I was playing with pure PHP and strangely whenever I used that the _POST array was empty, no matter what the form tried to do. Do I have some setting that says no input except '/' is allowed?

  • 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-30T10:32:04+00:00Added an answer on May 30, 2026 at 10:32 am

    The other links are dependent on mod_rewrite.

    Please ensure that mod_rewrite is enabled via:

    sudo a2enmod rewrite

    You will need to restart your server via:

    sudo /etc/init.d/apache2 restart

    Lastly, you will need to make sure your vhost does not have AllowOverride set to none.

    For testing, you can set it to All. You will need to restart your server again if you need to change this.

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

Sidebar

Related Questions

This is literally the first thing I've ever written in C, so please feel
First time using pyFacebook. I've literally copied the example application and put it up
This project is literally making me lose sleep. I think about it all day
This is my VERY FIRST node app. I'm literally just starting to piece through
I'm having this argument about using Cursors in TSQL recently... First of all, I'm
I've been trying to track this one for literally a month now without any
Typically, I've seen people use the class literal like this: Class<Foo> cls = Foo.class;
if in a literal object i try to reference a function using this inside
How can I get around this exception? Dim imagepathlit As Literal = DownloadsRepeater.FindControl(imagepathlit) imagepathlit.Text
This is a bit of a long shot, but if anyone can figure it

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.