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

Adding a Troubleshooting section #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,15 @@ It is tailored to people working in High Energy Physics that use ROOT (http://ro
# Example

https://musella.web.cern.ch/musella/php-plots

# Troubleshooting
## Broken style
Remember that the ```res``` folder should be copied in the same place as ```index.php```.

## Links not correct, even when changing URL
* With the new EOS websites, both ```https://[user].web.cern.ch/[user]/...``` and ```https://[user].web.cern.ch/...``` will work. However, only the latter should be used for ```php-plots``` to work.
* It seems that the script is not working if placed at the root of the website. Instead, it should be placed into a directory (e.g. ```higgs```, together with ```res``` and ```.htaccess```), and it will apply to all its subdirectories (```https://[user].web.cern.ch/higgs/some/path```).
* If needed for another directory too (e.g. ```https://[user].web.cern.ch/otherdir/...```), files (```index.php```, ```res```, and ```.htaccess```) need to copied there too (adapting ```.htaccess``` accordingly).

## Identification problems
After the migration of personal and project web pages from AFS to EOS, the old way to restrict access to some pages (using ```.htaccess```, as in ```example/htaccess```) no longer works. Instead, a web interface (https://application-portal.web.cern.ch/) should be used, see also https://auth.docs.cern.ch/user-documentation/saml/shibboleth-migration/#configuration-for-cern-single-sign-on.