Comments (6)
Went into the root level .htaccess and changed RewriteCond %{REQUEST_URI} !^/scalar/system(.) [NC] to RewriteCond %{REQUEST_URI} !^/system(.) [NC] to match my environment. This change fixed the "Metropolitan Museum of Art Importer" and the import from my Omeka install.
from scalar.
Is the .htaccess file present in system/application/rdf?
https://github.com/anvc/scalar/blob/master/system/application/rdf/.htaccess
It's critical to allow requests through to the RDF proxy ... a lot of times the file doesn't get copied especially if you're using a Mac FTP client, where dot files are hidden.
from scalar.
.htaccess is present.(see below) Is this a possible firewall issue? ports that may need to be opened?
My Scalar server sits on a DMZ network.
cat .htaccess
Satisfy Any
Allow from all# pwd
/var/www/html/scalar/system/application/rdf
from scalar.
Hmm... I don't know much (if anything) about DMZ .... can you open up your browser's NET console and see what the http error number + message is when you try to search for something?
from scalar.
I'm experiencing something similar with affiliates and other archives.
When searching the http result is a 404 error for my server, not the affiliate. "The requested URL /system/application/rdf/proxy.php was not found on this server." proxy.php is on the server, the path leading to it is accessible to the web server. The .htaccess file is present in system/application/rdf.
I'm running 2.1.1 on RHEL 6 with MySQL 5.5, Apache 2.2 w/ SSL, and PHP 5.3.3.
From Chrome's console: Request URL:https://sislt-scalar.missouri.edu/system/application/rdf/proxy.php?xsl=https%3A%2F%2Fsislt-scalar.missouri.edu%2Fsystem%2Fapplication%2Frdf%2Fxsl%2Fcuban_theater_digital_archive.xsl&uri=http%3A%2F%2Fctda.library.miami.edu%2Fobjsearch%2F%3Fq%3DBERNARDA&format=json&header=
httpd log entries from server:
Accessed Directly (visited: https://sislt-scalar.missouri.edu/system/application/rdf/proxy.php):
xxx.xxx.xxx.xxx - - [22/Nov/2016:12:08:47 -0600] "GET /system/application/rdf/proxy.php HTTP/1.1" 404 323 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
Accessed through Scalar:
xxx.xxx.xxx.xxx - - [22/Nov/2016:12:09:04 -0600] "GET /system/application/rdf/proxy.php?xsl=https%3A%2F%2Fsislt-scalar.missouri.edu%2Fsystem%2Fapplication%2Frdf%2Fxsl%2Fcuban_theater_digital_archive.xsl&uri=http%3A%2F%2Fctda.library.miami.edu%2Fobjsearch%2F%3Fq%3DBERNARDA&format=json&header= HTTP/1.1" 404 323 "https://sislt-scalar.missouri.edu/test-book/import/cuban_theater_digital_archive" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
from scalar.
@clueboy37 ... and you're sure mod_rewrite (which enables .htaccess) is On in your apache config?
Your Scalar URLs are "clean", correct? If not, for example, if page URLs have "codeigniter.php" in them, then this means the root .htaccess isn't working either.
from scalar.
Related Issues (20)
- PHP Fatal Error HOT 3
- Uncaught Exception: Could not resolve version ID before saving to the semantic store HOT 2
- Playing Youtube Scalar Media HOT 6
- Tag cloud layout creates word cloud visualization HOT 4
- Registration Key for scalar.edu HOT 5
- Registration Key for Usc.edu HOT 1
- IIIF/Mirador manifest issue HOT 6
- Feature Request: Footnotes HOT 8
- Annotating .dzi files? HOT 1
- File upload error - Maximum execution time of 300 seconds exceeded in ... /system/application/libraries/Image_Metadata.php HOT 10
- Editorial workflow editor Accept changes? HOT 2
- New tags do not save and existing tags disappear HOT 3
- Error when adding items to a path HOT 5
- Error in Rendering HOT 2
- PHP 8.1 throws errors in development mode HOT 3
- Lens as Advanced Search HOT 1
- Google Maps are no longer loading HOT 1
- Deprecated package yepnope v1.5.3 HOT 1
- CE dates in in timeline don't plot correctly HOT 2
- Changin url on new book throws error
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 scalar.