Created
December 11, 2012 20:45
-
-
Save dbu/4261984 to your computer and use it in GitHub Desktop.
travis apache run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y --force-yes apache2 | |
sudo a2enmod actions | |
sudo a2enmod rewrite | |
echo "export PATH=/home/vagrant/.phpenv/bin:$PATH" | sudo tee -a /etc/apache2/envvars > /dev/null | |
echo "$(cat scripts/travis/assets/phpconfig.txt)" | sudo tee /etc/apache2/conf.d/phpconfig > /dev/null | |
echo "$(cat scripts/travis/assets/vhost.txt)" | sed -e "s,PATH,`pwd`/web,g" | sudo tee /etc/apache2/sites-available/default > /dev/null | |
echo "date.timezone = UTC" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | |
sudo service apache2 restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security: | |
providers: | |
chain_provider: | |
chain: | |
providers: [fos_userbundle, in_memory] | |
in_memory: | |
memory: | |
users: | |
admin: { password: admin, roles: [ 'ROLE_ADMIN' ] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2012-12-11 19:13:31] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". [] [] | |
447[2012-12-11 19:13:31] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener::onKernelRequest". [] [] | |
448[2012-12-11 19:13:31] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". [] [] | |
449[2012-12-11 19:13:31] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". [] [] | |
450[2012-12-11 19:13:45] request.INFO: Matched route "search_client_index" (parameters: | |
"_controller": "project_search.controller.search:indexAction", "_route": "search_index") [] [] | |
451[2012-12-11 19:13:45] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". [] [] | |
452[2012-12-11 19:13:45] event.DEBUG: Notified event "kernel.request" to listener | |
"Symfony\Component\Security\Http\Firewall::onKernelRequest". [] [] | |
453[2012-12-11 19:13:45] security.INFO: Populated SecurityContext with an anonymous Token [] [] | |
454[2012-12-11 19:13:45] event.DEBUG: Notified event "kernel.exception" to listener | |
"Symfony\Component\Security\Http\Firewall\ExceptionListener::onKernelException". [] [] | |
455[2012-12-11 19:13:45] security.DEBUG: Access is denied (user is not fully authenticated) | |
by "/home/travis/builds/Liip/project/vendor/symfony/symfony/src/Symfony/Component/Security | |
/Http/Firewall/AccessListener.php" at line 70; redirecting to authentication entry point [] [] | |
456[2012-12-11 19:13:45] security.DEBUG: Calling Authentication entry point [] [] | |
457[2012-12-11 19:13:45] event.DEBUG: Listener "Symfony\Component\Security\Http\Firewall | |
\ExceptionListener::onKernelException" stopped propagation of the event "kernel.exception". [] [] | |
458[2012-12-11 19:13:45] event.DEBUG: Listener "Symfony\Component\HttpKernel\EventListener | |
\ProfilerListener::onKernelException" was not called for event "kernel.exception". [] [] | |
459[2012-12-11 19:13:45] event.DEBUG: Listener "Symfony\Component\HttpKernel\EventListener | |
\ExceptionListener::onKernelException" was not called for event "kernel.exception". [] [] | |
460[2012-12-11 19:13:45] event.DEBUG: Notified event "kernel.response" to listener | |
"Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse". [] [] |
Same happens on my production server, did you manage to solve this thing?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this happens on travis on
curl -u admin:admin http://localhost/app_test.php/search
if i do the exact same thing locally with my vagrant machine, it works. any ideas?