I've just installed WAMP and MediaWiki on a different box (a local machine on my network) however I want to view MediaWiki through my local machine and then add articles, etc. I installed MediaWiki on the remote box and configured it, I then returned to my local machine, typed in the IP address of the MediaWiki on the remote box (hsomething like http://100.100.100.100/wiki/index.php/Main_Page) and noticed that when changing preferences and saving the URL uses localhost and not the IP address (basically after I have posted via a Form Submit). Is this a setting I can change in WAMP or is it a setting I'll have to change in MediaWiki?
You may have noticed I'm a bit of newbi to this kind of thing.
Many thanks
There is a configuration file named localsettings.php in wamp/www/wiki
Open it with notepad and carefully remove the following:
$wgServer = "http://192.168.0.1"
(where 192.168.0.1 is the host name you used)
Stop and start WAMP and it should work
Panic over, in the LocalSettings file for mediaWiki you can set the following $wgServer to your IP address.
Related
I am running ContentBox on Lucee using CommandBox. In my ContentBox Admin, when I first set it up, I had it running on 127.0.0.1. Later, I created a web.config and updated the host file to use mydomain.com (I am using mydomain.com here as an example. The actual domain name is different). I have restarted the server a few times and even re-initiated a few times. However, cb.siteBaseURL keeps returning 127.0.0.1. My question is, where is cb.siteBaseURL getting the URL from? While I might have overlooked, but I have looked at every field in both Settings and Geek Settings and I don't see anything that have to do with the base URL.
NOTE: I wish I could tag ContentBox. However, it does not currently have a ContentBox tag. To create a new tag, I need 1500 reputation, which I don't have. So, Lucee, CommandBox, and ColdBox are the best ones I can come up with
First of all, we have a dedicated community forum for ContentBox here: https://community.ortussolutions.com/c/communities/contentbox/15
The issue you are experiencing is because ContentBox is multi-site. So each potential host needs to be mapped to the domain in question. Each site has a base url that you must define in order to build links and execute things. So when you install ContentBox, we have no clue which domain you will attach it to, so it defaults to the 127 ip address.
So now that you have a domain, just go to the Sites and update the base url to your domain.
EDIT
Since no one answered I guess I may not be stating my problem the right way, so I decided to give it a go and add this youtube video as part of the question. Hope it clarifies my question.
Hello Everyone:
I am a longtime R and shiny user, but a first time shiny-server user with little experience. I am trying to host a shiny app, and I was trying to follow the discussion in this thread but still haven’t been able to figure it out, so far I changed the listening port from 3838 to 80 as recommended in the thread and also tried to access the "/etc/httpd/conf/httpd.conf" folder as shown in the thread, but it does not exist in my ubuntu.
My app runs fine locally and I can see it by typing http://146.155.169.145/Example/ in my browser, but when I try to access it from other computers I can’t, it says connection timed out as shown bellow. As stated above, I have a lot of experience in R and Shiny, but I do not know much about hosting.
My shiny-server.conf is the following:
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
# Define a server that listens on port 3838
server {
listen 80;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
}
}
and I am using ubuntu 16.04
Let me know if I can give you more information
Thanks
I don't think the problem is the memory or your computer, for me is like you are protected by a router or firewall. If you have a router, you need to set up a demilitarized zone or similar approach and permit incoming connections (if your computer is at your house is more straightforward, because at the university have proxy and firewall). Are you tried something like what Dean Attali proposes on his webpage? https://deanattali.com/2015/05/09/setup-rstudio-shiny-server-digital-ocean/
Maybe you can try something like that, but if you want to rent a virtual server (VPS) need to know if this server can run R, some VPSs are only for webpage server.
When I tried to access my localhost my IP like 192.168.1.7 then its working fine and show me all my project dir but when I try to access my project dir then IP turn to localhost so I can't access this address on different system. so how I can keep the IP same?
I have already tried some solution but it doesn't work.
I need to access my project like http://192.168.1.7/myproject
It seems your project has hard-coded code piece or website location is written in a configuration file.
Here your check list can be to solve this issue:
Check your project files and search if any file consist localhost string anywhere
Check .htaccess if it exists and see if there any localhost text
If you find any you can use $_SERVER['HTTP_HOST'] instead of hard-coded text. $_SERVER['HTTP_HOST'] will make it dynamic so it shouldn't be problem for you anymore.
Please give us more information about your project. We can't go further and help directly to your problem since we don't know so much details about it.
Looking at my website in IE8 in windows XP, cookies work fine. But, when i connect to my local dev version over the local network, it's not saving cookies. I'm connecting via an entry in my c:\WINDOWS\system32\drivers\etc\hosts file.
I'm not that familiar with the intricacies of IE8's security settings. Could there be something that the live site does, which the local version doesn't, which means the local version is failing some security test and thus not getting its cookies saved? IE8 is on the default "Medium-High" security setting. I've tried changing it to "Medium" (the lowest) and get the same problem.
When i say it's not saving the cookies, i mean that i'm looking in the IE8 dev tools/Cache/View Cookie Information page, and it's totally empty (apart from the site url) - there's no cookies saved at all.
Hoping to get some pointers on this, i don't really know where to start trying to fix it.
thanks, max
Ok, figured it out - the hostname i was using had an underscore in it. When i changed it to a hyphen it worked fine.
thanks for reading!
I am getting an error while trying to run CFmx code on a remote host.
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
I did my coding on my "LocalHost".
Then for testing ,I copied it to a remote host "ChicaDevTestApp" to a folder “D:\inetpub\wwwroot\Aug20\AppliTest.com”.
Previously, I was able to access the old code(in "ChicaDevTestApp") as “http:// ChicaDevTestApp” from my system.
Now since I added a new folder “Aug20” I tried ,the url “http:// ChicaDevTestApp /Aug20/”.
But was getting the above error.
Should I work the “path” , in the CFAdmin ?
How to run the folder “Aug20” containing my code ,from my local host?
Thanks in Advance
Vas
Sounds like the virtual directory is not set up in IIS to enable directory listing. This setting can be changed in the IIS manager, what version of IIS are you running? 6 or 7?
EDIT:
I completely go the wrong idea about what you're trying to describe. What you actually want to do is to set a Default Document for that directory (the aug20 directory)... Open up IIS Manager, and select your virtual directory. Open the "Documents" tab and add the name of your "default" page to the box