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

SCRIPT_URL in web.py? #31

Closed
qqrqq opened this issue Sep 11, 2017 · 1 comment
Closed

SCRIPT_URL in web.py? #31

qqrqq opened this issue Sep 11, 2017 · 1 comment

Comments

@qqrqq
Copy link

qqrqq commented Sep 11, 2017

Hi

First of all, I'm completely not aware of Apache server configurations, so this might be a simple PEBKAC. I did follow all steps of the installation manual. My server (httpd) is up and running, however I'm getting an error when it want to run web.py, since there's no SCRIPT_URL variable set. What should be the proper value for this variable? Should I set it or it should be somehow set automatically by httpd? Below is the tree of the test linux repository I'm trying to run. I've only modified elixir scripts a little, to return just 2 of the tags instead of all of them. Rest is unchanged.

(all Linux data is inside the "repo" directory - this is wrongly presented here)
user@server:~/data/proj_elixir$ tree -L 3
.
└── linux
├── data
│   ├── blobs.db
│   ├── definitions.db
│   ├── filenames.db
│   ├── hashes.db
│   ├── references.db
│   ├── variables.db
│   └── versions.db
└── repo
├── arch
├── block
├── certs
├── COPYING
├── CREDITS
├── crypto
├── Documentation
├── drivers
├── firmware
├── fs
├── include
├── init
├── ipc
├── Kbuild
├── Kconfig
├── kernel
├── lib
├── MAINTAINERS
├── Makefile
├── mm
├── net
├── README
├── samples
├── scripts
├── security
├── sound
├── tools
├── usr
└── virt

@qqrqq
Copy link
Author

qqrqq commented Sep 13, 2017

The problem was that I'm running elixir instance in docker container behind another docker container, and virtual host was not properly resolved, so mod_rewrite was not able to set SCRIPT_URL properly and that's why web.py was not working at all.

@qqrqq qqrqq closed this as completed Sep 13, 2017
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

1 participant