for a customer website I use Sabredav within a Typo3 Extension (webdav, by Kay Strobach). This
extension, "activates" sabredav when a user enters the following URL:
http://mycustomersite.com/index.php/dav
I can connect with GoodSync with no problems, everything works fine.
Now, I should go a step further. The address
data.mycustomersite.com
should "point" to the address above. Simple redirect seems not to
work, since I get errors.
I know, that this can be solved by mod_rewrite. Unfortunately I have
only a little knowledge of apache...
What exactly should I have to write in order to achieve this? And
where?
Thank you very much in advance.
Davide
You should write to an official typo3 mailing list, where e.g. Kay is reading and answering ;-)
Related
That's a quite puzzling problem. I've multiple MediaWiki installations. In this specific case: Version 1.34.
Now I can login to all of these MediaWikis. Everything works fine.
Now I can access all of these MediaWikis via API --- EXCEPT ONE. The strange thing is: All of them are configured almost identical. I even copied the configuration from one wiki where everything was working to the second wiki.
To be more precise. If I send ...
/wikiA/api.php?action=query&meta=tokens&format=json&type=login
... I get a very reasonable answer, e.g.:
{"batchcomplete":"","query":{"tokens":{"logintoken":"37ec2e690eeb48a10ac66b2ccbca2b576000f9f4+\\"}}}
If I send ...
/wikiB/api.php?action=query&meta=tokens&format=json&type=login
... I get the following answer, e.g.:
{"error":{"code":"readapidenied","info":"You need read permission to use this module.","*":"See http://xxx.xxx.xxx.xxx/wikiB/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."}}
This can be reproduced using any web browser.
Q: What could be the reason that on this wikiB I even can't access the normal login module? It can't be the configuration. It's almost completely identical. It can't be the source code. I ran a diff on the PHP files and found no significant differences. What could be wrong here? It seems it must be something with the database. But how do I approach this? Does anyone have an idea? I would appreciate it very much if you could help!
I analyzed the data base: No difference. I did more research using google: And found a bug report.
It's a bug in MediaWiki. They provided an official software release with THAT kind of bug.
It turnes out there is a 1.34.0 version and a 1.34.1 version. My WikiA has 1.34.1 while WikiB had 1.34.0. After copying this one single file includes/api/ApiQuery.php from WikiA to WikiB and everything worked fine.
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/580097/
I need a little help here, i hope someone here can help me for a hint or clue.
First of all, I'm not programmer. I'm just web admin who can use cms and basic html.
I was using PrestaShop for my online shop. In the backend, I can't upload new product image anymore.
The error just blank without any sign for me. Here for the screenshot:
I appreciate it, if someone can help me, thanks, and sorry for my english.
#PanjiWiyono This errors don't really give us a quality information, but this is a start. In your JS code should be a ajax query that has an error when converting results to json (first error). You should check what's the exact error that this request is returning by inspecting in browser developer console.
If you detect that the second error is in fact, the response of this ajax query, well now we almost have the problem.
The second error should be related to data size. Check this: Error while sending QUERY packet
Anyway, you should check DbPDO.php class. You can use debug_backtrace function to display the complete stack, but definitly if error is related to a basic PHP class issue you will have not help knowing wich classes are in calling stack.
Good luck.
Simple solution
maybe a extra module is in a conflict with the prestashop core files. go to advanced parameters, performance and disable third party modules and try again.
other option is reupload admin folder with other name and
js folder check again
hope it will work for you
I've seen many website doing this, for example in the address bar : we can type: someuser.twitter.com and it will automatically redirect us to twitter.com/someuser
I know this can be done using HTACCESS. Could some one help me please on what to write on the htaccess file in order to call example.domain.com instead of domain.com/example ?
Thank-you in advance
Look at this well explained topic:
http://stackoverflow.com/questions/586129/create-subdomains-on-the-fly-with-htaccess-php
is there a way to have comments box on a website made on Apple's iWeb.
I don't host my website with Apple MobileMe. I just think it is too expensive. I have been hosting it with Godaddy.
But yesterday I found out the comment function built in iWeb only works if you are hosting your website with MobileMe.
I need something that blends in with my website properly, I wouldn't like to just smack something over my website that simply doesn't feel it belongs there.
Well there are quite a few options out there...
but if you are going for the looks of it I would suggest:
flexi comment box.
It looks very nice and it can be customized, which means you can 'blend in' your pages very well... looking forward to your "blend" :P
I'd highly recommend DISQUS. They do a great box to add comments to your iweb site. You can just embed their code as an HTML snippet and it works great !
How do I pass the identity of the logged on user in an a webapplication to a service beeing called by the webserver?
My idea her is to set som kind of EndpointIdentity on the cahnnel. In my case this will be an GUID identifing the user's session on the webserver.
Anyone got any exprience on this.. Maybe I have misunderstood the concept?
Any idea's or links would be apriciated.
I have replied to one of the questions on Stackoverflow for a similar kind of problem:here
Please check, it will be helpful for your problem also.