Comments (9)
If you get 404 I would check if the vhost really works. You could check if that specific log file receives the access (which should be listed as 404 in the combined log).
Then you need to check if the .htaccess file is being used at all.
I also wonder why you have Port 1443 in the vhost while you have https:// in the hubic account.
from hubic2swiftgate.
I use SSLH for SSH and Apache on the same port
I haven't .htaccess in /var/www/hubic2swiftgate
log:
root@ks:/var/www# cat /var/log/apache2/hsgate_ssl_error.log
[Mon Oct 26 15:50:25.717699 2015] [ssl:warn] [pid 6342] AH01909: hb.my.domaine:443:0 server certificate does NOT include an ID which matches the server name
and nothing in /var/log/apache2/hsgate_ssl_access.log
from hubic2swiftgate.
OK. But the 404 should not appear in the error but in the access (combined) log.
Without an .htaccess file there are no rewrite rules which would explain the 404 error too as the url you access is not available without those.
from hubic2swiftgate.
root@ks:/var/www# cat /var/log/apache2/hsgate_ssl_access.log
127.0.0.1 - - [26/Oct/2015:18:28:54 +0100] "GET /register/?client=hubic&password=password HTTP/1.1" 404 2265 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
What I put in the .htaccess ?
from hubic2swiftgate.
It is part of the repository: https://github.com/oderwat/hubic2swiftgate/blob/master/www/.htaccess
from hubic2swiftgate.
I copied the .htaccess and simple.php in /var/www/hubi2swiftgate and I have this error:
/var/www/hubic2swiftgate/../cache doesn't exists
the hubic2swiftgate folder:
root@ks:/var/www# ls -alh hubic2swiftgate/
total 48K
drwxrwxr-x 5 www-data www-data 4,0K oct. 26 18:40 .
drwxr-xr-x 9 www-data root 4,0K oct. 26 15:07 ..
drwxrwxr-x 2 www-data www-data 4,0K oct. 26 15:07 cache
-rwxrwxr-x 1 www-data www-data 220 oct. 26 18:28 config.php
-rwxrwxr-x 1 www-data www-data 172 oct. 26 15:07 config.php.sample
drwxrwxr-x 8 www-data www-data 4,0K oct. 26 15:07 .git
-rwxrwxr-x 1 www-data www-data 39 oct. 26 15:07 .gitignore
-rwxr-xr-x 1 www-data www-data 147 oct. 26 18:37 .htaccess
-rwxrwxr-x 1 www-data www-data 12K oct. 26 15:07 README.md
-rwxr-xr-x 1 www-data www-data 11K oct. 26 18:43 simple.php
drwxrwxr-x 2 www-data www-data 4,0K oct. 26 18:37 www
from hubic2swiftgate.
Oh. I see the problem. Your virtual host needs to point into the www directory not in the root of the checked our directory. Then there will be the .htaccess from repository automatically.
I probably should change the readme to make this more clear.
from hubic2swiftgate.
Ok, works !!!
Thx a lot :)
from hubic2swiftgate.
I updated the readme to save others from that problem! TY too for being so patient with it!
from hubic2swiftgate.
Related Issues (20)
- ftp-cloudfs + hubic2swiftgate = ftp hubic HOT 1
- 403 Forbidden HOT 3
- invalid_request HOT 2
- SCRIPT_URL does not not exists in nginx / fpm config HOT 6
- I can't make a connection with hubiC HOT 1
- . HOT 2
- Using a recent version of Python-SwiftClient HOT 3
- Dockerfile HOT 2
- ERROR : Access Denied! Wrong Client or Password HOT 13
- Alias Apache HOT 3
- Several issues (s3ql), any help? HOT 4
- Problem registering HOT 6
- autoregister doesn't work anymore ? HOT 1
- Register issue : HubiC api server responded with return code: 0 HOT 1
- include caddy configuration info HOT 1
- Help in configuration with Nginx (and Owncloud)
- Not "secure" to be trusted for "public" users... HOT 2
- Setup HOT 1
- Does not work with CyberDuck HOT 1
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 hubic2swiftgate.