Need changing "\" to "/" in url - .htaccess

A developer abandoned a project and left me with an add-on that keeps asking for files from the directory http://website.com/file/images\##\##.png
The problem is the two "\" are suppose to be "/".
Everything works fine except this minor issue. Thought I come here for help?
I look at and tried to learn rewrite to fix this but it's beyond me.
I need help with this "\" issue. Is it possible to use htaccess to fix this?

Related

Excel stopped storing links with relative file path - what to do?

So, in my organization we have a shared drive with a number of Excel workbooks that link to each other. For years, this have worked according to Microsofts description here:
https://support.microsoft.com/en-us/topic/description-of-workbook-link-management-and-storage-in-excel-46628e8d-2cd6-db5f-3474-f8d7144b09d6
About a year ago, without any change from our side, all our links started behaving as absolute references instead of relative. This is a huge problem for us since it means we can't copy a folder with it's subfolders and have the files still link to each other. (For example, we want to take a structure of files and try out how a new scenario would affect them, or we want a copy of the structure but for a new time period.)
Does anyone know what might cause this problem?
Is there anything we can do to have the links stored as relative again?
I can't believe we're the only ones experiencing this, but I haven't been able to find anything on this problem this far.

IntelliJ Project Tool Window Shows Different Folders Than Before

Say my current project is called project_x. Normally, in the Project ToolWindow the outermost directory displayed would be the directory project_x, alongside things such as External Libraries. Kind of the default, as one would expect.
However, IntelliJ displayed a message that I cannot exactly remember, but which said something like "an external change has occured". It then asked me whether to rebuild the current project, and I did.
Problem: now, the outermost directory displayed is my User folder, i.e.: Username [project_x] -> IdeaProjects -> project_x
I find this annoying, and would like to know how to revert back to the default settings. Help would be appreciated.
What it currently looks like (it contains my entire user-dir):
What it should look like (ignore the theme):
Edit: Well, while it did work for the above project, it did not work for the other one (made matters worse tbh). So this probably is not a solution in general.
Ok, I figured it out.
I noticed that the blue square next to a directory means that it's the source root. (Both my users directory and my actual project directory had such a blue square, the former obviously not wanted...).
So I did some googling on how to remove such a source root. I didn't find the right answer, but got close enough to figure it out on my own (no idea if I caused any damage to my project though):
Go to File -> Project Structure -> Modules
After looking around I noticed that on the left side I had two modules, one of them having my users directory as source root. I deleted that one, which solved my problem.
I'd still appreciate it if somebody could explain to me why this happened, and how to avoid this in the future, because in the time between asking and answering this question, it has happened to me again...

Default search in Google Chrome locked to smartsputnik.ru

Default search in Google Chrome locked by smartsputnik.ru. I am receiving the following message:
This setting is enforced by your administrator
I have tried deleting all the entries in registry and also resetting and reinstalling Chrome but this did not help. I have also tried the proposed solution someone else here found that worked - No success for me. I still cannot rid my machine of smartsputnik.ru search engine.
Computer\HKEY_LOCAL_MACCHINE\SOFTWARE\Policies\Google\Chrome
2.Delete file - C:\Windows\System32\GroupPolicy\Machine\registry.pol
I have run various malware executers but nothing will help regain control of my Google search default.
Are there any other suggestions or useful ideas?
This Malware SUCKS!!! I got the same thing and it took me 9 hour to track it down and kill it!!!
I tried everything that you tried. But the thing that worked was.....
I went into the registry and clicked CTRL + F or the edit tab and Find. I then typed in google and went through EVERY google registry file, one by one by using the F3 key to Find Next. About my 20th one in I found a peculiar path to chrome for the value data. I think the path to it was HKEY_CLASSES_ROOT/ChromeHTML/shell/open/command and I deleted everything after chrome.exe in the value data, but since I tried many things I could be wrong, I'm about 90% sure that that was the correct path. It had something like C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --%" ,for its value data.
I don't remember exactly the ending symbols but EVERY other path that I found had C:\Program Files (x86)\Google\Chrome\Application\chrome.exe,0 . Notice that it is a ,0 and not " --%". I then right clicked the name and deleted the " --%" garbage.
I also went to HKEY_CURRENT_USER/Software/Classes/LowRegistry/audio/PolicyConfig/PropertyStore/c44b5619_0 and deleted everything in the value data. It had a bunch of lines of unknown garbage and a weird chrome.exe file path.
After doing these things AND running several malware programs, which didn't do much, I now had the ability to delete smartsputnik.ru as a permanent search engine. AND MAN WAS IT SATISFYING!!!!!!!!
If you have any questions I will be happy to help because this was the most frustrating malware I have ever had to deal with, and I have been at this a long time.

mv command failing because destination already exists

Sorry if this has been answered - I tried to search, but didn't find anyone with quite the same issue..
I'm trying to basically move all files from one drive (mountpoint) to another.. I initially used
mv /mnt/old1/* /mnt/disk1
This SEEMS to have been working, but I had a power failure in the middle of it, and when I re-issue the command, it seems to be having issues because the directory structure in the destination already exists, so it's not moving the source files anymore.
Basically, at this point, I'm just trying to merge two directory structures into one. I guess I could cp the structure, but I would really have no way to know if a file was skipped as I do with mv, since if it's still in the source drive, I can assume it wasn't moved..
Is there a better way to do this? I've never used rsync, but from what I'm reading, perhaps this is a better option?
Any help would be greatly appreciated - I've got millions of files (18+tb) to move and I don't want to inadvertently miss something..
Thanks!
Steve
I just tried the following, and it works.
mv -ui /old/* /new/
-u for update mode
-i for query if exist (just for double check, maybe useless)
I do not know whether slash "/" after "/new" matters, and after that, files in /old/ are those not moved.
Hope this can help :)

Matlab UI program works unproperly after deploytool

this is the first time I'm encountering this kind of issue.
I have a perfectly working code that runs without any issue under 3 different platforms (Win/Linux/OS X).
However after the deploytool compilation a part of it stops working. How can I get the error once the code is compiled!? It seems that it has some problems in loading and reading .mat files. Is that possible?
I hope someone can help me.
Thanks
edit:
I've solved the problem! Unfortunately was all addpath fault!
I have a lot of folders with files and functions that are needed for running the code, after the compilation matlab does a mess with all of that folders.
Good hint: do not use addpath for the compilation! Thank you anyway!
You can try to catch the error and write it to a text file. Or build in a check that prints text to the screen.
A bit more in general: You can try to isolate the part of the code that has the problem, and then basically cut out half of the functionality in this part repeatedly until you have exactly found the source of the error.

Resources