Comments (4)
@karenetheridge, that's probably something you can fix with a server setting. Leaving off the index.php in our install works fine, but our server is also configured to serve index.php as the index document if one isn't specified.
The fix will depend on which web server you're using to serve the console (apache, nginx, etc...).
from beanstalk_console.
Ok. it would be nice if the application itself could handle this, though, rather than having to provide it on the outside.
FWIW, I am bootstrapping the console via Perl's Plack (the standard PSGI framework) (with the path hack that I've just added included):
$ cat app.psgi
use strict;
use warnings;
use Plack::App::PHPCGIFile;
my $app = sub {
my $env = shift;
$env->{PATH_INFO} .= 'index.php' if substr($env->{PATH_INFO}, -1, 1) eq '/';
Plack::App::PHPCGIFile->new(
root => '/home/ad/karene/beanstalk_console/',
)->to_app->($env);
};
At the command line, it is started via:
$ plackup --port 5001 --access-log ~/beanstalk_console/access.log app.psgi &
from beanstalk_console.
@karenetheridge I'm not the author, so I'm only speaking for myself and past experience, but in PHP we see this a lot where the index.php script is "hidden" from URLs to make the URLs look "pretty", and the web server is configured to look for an index.php file when the file part of the URL is omitted (could look for index.html or similar depending on the desired backend). It's become quite a standard configuration in the PHP/Apache world (which I believe has probably migrated to other Apache replacements like Nginx).
from beanstalk_console.
@karenetheridge, that's right. You need to add index.php to the list of default index files.
from beanstalk_console.
Related Issues (20)
- Moving a buried job back to a tube being watched by multiple workers causes same job to be reserved multiple times? HOT 4
- Top nav server list should show "named" servers with their names HOT 1
- Can't pull server names out of enviroment variable HOT 1
- Console needs a favicon
- HTML page title should vary depending on which page you're viewing
- 502 Bad Gateway error HOT 2
- PHP 7.2 Deprecated: __autoload() is deprecated, use spl_autoload_register() instead
- Switch basic auth to .htaccess from PHP HOT 7
- composer/installers support HOT 6
- Setting to enable auto-refresh by default HOT 9
- What's the logic about search? HOT 7
- Automated Docker Builds HOT 9
- It doesn't show the protobuf content
- Creating sample with same name from within tube view fails without feedback
- issue in php8.0 when pressing on the refresh button HOT 4
- Please make the storage file writable: /home/admin/www/html/beanstalk/storage.json HOT 2
- Who to contact for security issues HOT 7
- Undef issue if showing all servers
- Remove the composer/installers dependency HOT 3
- Unable to find image 'beanstalk_console:latest'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beanstalk_console.