Git Product home page Git Product logo

Comments (4)

cazzerson avatar cazzerson commented on July 30, 2024

Thanks for giving Suma a try! It sounds like your .htaccess file is not being recognized. If the file is in place, it's possible that your web server has not been configured to allow the use of .htaccess files in that particular directory. In Apache, you (or your sysadmin) may need to set the "AllowOverride" directive for that directory:

http://httpd.apache.org/docs/current/mod/core.html#allowoverride

Let me know if that helps.

from suma.

micheljp avatar micheljp commented on July 30, 2024

Thanks for the reply. Checked with the sysadmin and apparently the AllowOveride has been set all along. any other ideas?

from suma.

cazzerson avatar cazzerson commented on July 30, 2024

Hm, I still think this is an .htaccess issue. I am able to reproduce your issues by removing my .htaccess file. A few things to check:

  1. Confirm that the filename is exactly right (.htaccess) and the file in the same directory as the index.php file that you are able to reach.
  2. Confirm that the permissions will allow the file to be read by Apache (e.g. 644).
  3. Test the use of .htaccess files generally by creating another directory at the same level as the sumaserver web directory with the following lines in the .htaccess file:
RewriteEngine on
RewriteRule ^(.*)$ http://www.google.com

When you visit that URL, you should end up at Google.

  1. If item 3 works and you don't see any issues with items 1 and 2, could you send a copy of your .htaccess file to me at [email protected]?

from suma.

cazzerson avatar cazzerson commented on July 30, 2024

The discussion of this issue continued offline, but to describe the solution for future users: There is an issue with the way mod_rewrite determines the base URL for per-user directories, described in the following bug report:

https://issues.apache.org/bugzilla/show_bug.cgi?id=36509

The solution in cases like these is to insert a RewriteBase line below the RewriteEngine on line in .htaccess. As an example, for this particular case, the line would be:

RewriteBase /~micheljp/sumaserver/ 

from suma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.