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

fix urls, turn stanford.edu/class/cs198/cgi-bin/paperless into paperless.stanford.edu #39

Closed
jkeesh opened this issue Dec 25, 2010 · 5 comments

Comments

@jkeesh
Copy link
Owner

jkeesh commented Dec 25, 2010

htaccess wizards, please solve this.

@jkeesh
Copy link
Owner Author

jkeesh commented Dec 25, 2010

there are several places to look for a fix:

  1. the root url should change to paperless.stanford.edu in the config file
  2. RewriteBase in the htaccess is currently /class/cs198/cgi-bin/paperless/ . By changing this it breaks. I'm not exactly sure what it should change to
  3. We use php header redirects in main.php.
  4. the vanity url configuration

@econner
Copy link
Collaborator

econner commented Dec 26, 2010

So i think the problem is with the webauth stuff and not with the mod_rewrite stuff... for example if you take out these lines from the htaccess file:
AuthType WebAuth
Require valid-user
it doesn't expand the URL and it redirects you correctly.

What kind of aliasing are we using? Proxy or redirect?

@jkeesh
Copy link
Owner Author

jkeesh commented Dec 26, 2010

ahhh!! that must be it! we are using proxy. but i think it was because we were doing webuath on the cgibin end instead of hte proxy end selecting the web auth option. i must have messed that up.

@jkeesh
Copy link
Owner Author

jkeesh commented Dec 26, 2010

im going to delete and re ask for the proxy, or actually maybe just send in a request

@econner
Copy link
Collaborator

econner commented Dec 26, 2010

cool sounds good yea i think that must be it

@jkeesh jkeesh closed this as completed May 14, 2011
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

2 participants