Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload to host it's not working! #48

Open
luongvancong opened this issue Oct 15, 2012 · 2 comments
Open

Upload to host it's not working! #48

luongvancong opened this issue Oct 15, 2012 · 2 comments

Comments

@luongvancong
Copy link

It's about my file:
require 'src/Epi.php';
Epi::setPath('base','src');
Epi::init('route');

getRoute()->get('/','hello');
getRoute()->get('/talk','talk');
getRoute()->run();

function hello(){
echo 'hello';

}

function talk(){
echo 'Hello World';
}

example: myhost.com/talk , It's not working , Please fix it for me! , While test in localhost it's working

@challgren
Copy link

Your going to need to provide way more than this to help troubleshoot your issue. The above code must be put in the index.php file in your public_html along with the .htaccess file.

@jmathai
Copy link
Owner

jmathai commented Oct 16, 2012

Reiterating what @challgren mentioned.

  • Is all this in your document root?
  • Is there anything in your error log?
  • Are you using virtual hosts?
    • What's your virtualhost definition look like?
  • Is mod_rewrite turned on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants