I am running an artifactory (v4) instance. When clicking via gui on artifacts there is a "set me up" button which shows you the repository url in which an artifact is located.
This URL is wrong in my case. It is a https:// but it should be normal http://
Can someone tell me in which hidden .xml file I can fix this wrong url?
The url that used in "set me up" and other links in JFrog's Artifactory is configured by Custom Base URL.
Go to "admin" > "configuration" > "general" and change it there to http://your-server/artifactory.
Related
I'm trying to activate workspace tool for my local project. I want to apply CSS changes on my codes when I edit them into browser.
I've added my folder, perfix url and path of my project to the Chrome like this:
But still there isn't any change in my codes when I change it into browser, What's wrong?
Here are the steps to map a local workspace to a server path, using my example:
Click "Add folder" in the Workspace settings, and navigate to your working directory. Click "Allow" in the bar at the top to grant Chrome permissions.
Add a mapping between your server and the path
Load the URL and navigate to the Sources tab. Open your file and start editing.
If you save with Cmd+S (Mac) / Ctrl+S (Windows / Linux), the changes will be persisted in the workspace.
You can read more information from the official documentation here, which shows how to add it directly from the Sources panel. Read the Limitations section, in case you are trying to do something that isn't supported.
I am in a really interesting situation right now.
After migrating a client website from a development environment using, WP Clone by WP Academy, I get this error when trying to upload images via the Worpress media uploader.
“image.png” has failed to upload due to an error
Unable to create directory uploads/2015/07. Is its parent directory writable by the server?
I logged into Godaddy and change the entire uploads/ folder permission via ssh to 777 (crazy enough). And all its contents.
I still got the same error.
After probing a little deeper, I found out the website is running from a different location than the machine i am sshed into.
What do I mean?
When I run pwd via ssh, to see my current working directory I get.
-bash-4.2$ pwd
/home/clientname/html/wp-content/uploads
But In the Wordpress setting at, Settings -> Media
The option "store uploads in this folder" has a value of
/home4/d***71/public_html/website.url/wp-content/uploads
Meaning The site files are copied and hosted in a different location than that given via the SSH, This is probably due to the fact that Godaddy's managed wordpress hosting has some special cache setting configured beyond the control of the user.
The problem now is how do I correct the File Permission issue and have my uploads working properly.
:)
I am just adding this, if anyone ran into the same issue in future.
Log into your GoDaddy account.
Go to the Hosting page.
Click Manage
Select File Manager for the domain you want to edit the permission (this is, if you have multiple domains)
Navigate to the folder where you have installed the WordPress.
Hover on the 'wp-content' and you should able to see an arrow, click to see the option called 'Change Permissions'.
You should able to see all the Permission details in this window.
login into your godaddy panel and click file manager
click or open your project folder
locate upload folder and click on check box
click into the privacy icon and check inherit an SET ALL SUB FOLDERS TO INHERIT PERMISSIONS both checkboxes
The "Hover" didn't work for me. What DID work was to go to the directory above, put ONE check in a box for a DIRECTORY (not a file), and then click on "Privacy".
GoDaddy Permissions
If you check more than one folder, OR a file, you won't get the permissions eyeball to light up.
So, to fix a file permission you would have to go to the level above, and change "Set all subfolders to inherit permissions".
Apparently you can't change some files and not others - just the parent folder, which then sets all the files (is my guess).
This is NOT a limitation of Windows, it's the broken way they establish permissions.
Anyway - hopefully that will work. Tech support confirmed the drop down doesn't work anymore.
== John ==
I want to add a rewrite rule to web.config for https.
When creating a Wordpress site from the Gallery, how would I configure the web.config that is created automatically? Using ftp, I can't overwrite the file. It just disappears from the ftp session and is still the old version.
Of course I could download the entire site and then re-deploy via git with full controll, but it's kind of convenient to just let wordpress do updates directly on the production site.
Any other options?
Or you can use the "Debug Console" by going to
https://your_site_name.scm.azurewebsites.net/DebugConsole,
then go to .\site\wwwroot\ and edit web.config directly by clicking the "pencil" icon on the left of the file.
Visual Studio online does the trick. Found in the Configure tab, but still Preview.
I want to generate a URL to browse directly to any artifact.
I can browse a specific repository with the following url.
https://repository.sonatype.org/index.html#view-repositories;maven-sites~browsestorage
Is it possible to browse a specific item with a single URL?
e.g. in the above repository there is an artifact called nexus-oss/css.
I would like to have a URL that will directly expand the tree in the browsestorage view to the artifact nexus-oss/css.
Thx
derek
You can browse to it directly, but afaik not using the Nexus UI.
For example:
https://repository.sonatype.org/content/sites/maven-sites/nexus-oss/css/
If there was a url to do this, I reckon it would look like this:
https://repository.sonatype.org/index.html#view-repositories;maven-sites~browsestorage~/nexus-oss/css/maven-base.css
Since this is the url you get when you select a specific artifact and click its "Contained In Repositories" link.
I have added an application on IIS 7 and the physical path selected correctly.
However, I got this problem when browsing the application:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. the problem is also when I tried it like this: http://abc.com/default.aspx
but if I tried it with: http://abc.com/myimage.png => works
the server has installed .NET Framework 2.0, and also 4.0
Any idea what is wrong here?
THanks in advance.
Do you have the Default Document set to your homepage correctly?
One solution:
Try to add the type to IIS Mime types. Ex: I meet this error when try to click a mkv video file.
Open IIS Manager
Selection "MIME Type" feature
Add...
Enter this content
File name extension: mkv
Mime types: mkv/mkv
OK
Restart the website
Click the file again, its worked