Alfresco Invite mail url change - alfresco

I added the gmail smtp configuration to the alfresco share. Whenever I created a new site. Whenever I invite someone a url is sent to the corresponding person but the url which is send is the problem. It is sending the local address which when clicked by the user in different computer will take to his localhost instead of alfresco share.
How to change this url. I am using alfresco share 4.2e,CE.

You need to set the properties of Alfresco's sysAdmin subsystem in your alfresco-global.properties:
http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/concepts/sysadmin-subsystem-props.html
e.g.:
share.host=myalfresco
share.port=80

Edit the file alfresco-global.properties
In Linux
/opt/alfresco-5.1/tomcat/shared/classes/alfresco-global.properties
In Windows
C:\alfresco-community\tomcat\shared\classes\alfresco-global.properties
Change 127.0.0.1 for ip address or hostname (for Share context only)
share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http
Restart service alfresco

Related

Same Domain WordPress login on different server wp-admin

Quick Question.
A guest house was bought by the original owner and scenario as follows.
The Website for that guesthouse is on its own Hosted WordPress installation at the current host
The login address would be https://Example/wp-admin
I re-created that user account on our hosted WHM as I need to transfer the website and Domain to myself.
Can I login to the newly created WP-admin on my server while the A record is Pointed to the current hosts IP?
Example
Current Host
Example/WP-admin
IP:46.0.0.0
Example
New Host
Example/WP-admin
IP:76.0.0.0
How Can I login to the WP on the new host if the DNS is pointing to the IP:46.0.0.0 (Current Host)
FYI - most will ask why don't I point the A record, that's because the current host does not have the logins for the Cpanel, nor are they answering calls
THANKS,
hope this makes sense in the way I phrased it.
On your local machine you can change the hosts file to point Example webstie to 76.0.0.0 and then you can flush the dns cache and web browser cache. From now on Example website will point to 76.0.0.0 for your computer only. If you have a Windows machine and admin access, you can modify the hosts file under c:\Windows\System32\Drivers\etc\hosts ( change c partition to the partition that you have installed your windows on, if its different then "c" ) then you can add following line:
76.0.0.0 example.com www.example.com
Please make sure you flush the dns cache and clear the web browser cache afterwards.
If you want the whole world to see Example website from 76.0.0.0 you would have to change the A record.

How to access Wordpress wp-admin dashboad after domain is expired?

I had a domain name called: http://p2pproductions.in
Which expired a few months back since we are moving to a new site.
I have downloaded the Site files and Database scripts.
I wanted to log in to the existing WP dashboard but since the domain is expired I have no way to login to it.
You will need to edit your local computer's hosts file. This will make your browser to locally resolve the domain to the IP that it was previously hosted on.
The file is usually present in
Windows: C:\Windows\System32\Drivers\etc\hosts.
Linux: /etc/hosts
Mac: /etc/private/hosts OR /etc/hosts
In there you need to find your cPanel's IP, then append the line
IP www.domain.com domain.com
7.7.7.7 www.p2pproductions.in p2pproductions.in
After that save and close your hosts file, clear your browser's cache and access your site again - you will resolve it from your cPanel account.
Alternatively you can also use the same manner by visiting https://hosts.cx/ - in the Server Address enter your cPanel account's IP and in the Website name - p2pproductions.in
You have to access to your database and change the URL at the wp_option(instead of wp_, maybe you are using another prefix) table.
The field name you have to change is siteurl.
P.D: If you are at localhost, change it to localhost (also take a look if you're using a port, like 8080).

Working with registered users offline WAMP

From what I've gathered, mail won't work offline using WAMP unless set up. So right now I have users that aren't activated. I'm not able to log in(or register) to wordpress as a registered user to create a specific additional functionality. Is there a way to get around this without taking it online?
Additionally can you collect more information from a registered user via additions to the form? How much access do you have to this information? The end goal is to try and keep specific information only visible to certain registered users. Only registered users that I allow would have access.
The Online/Offline of WAMPServer only changes the access allowed to Apache
Online = Apache accepts access from any ip address
Offline = Apache only accepts connections from the local PC i.e. the one running WAMPServer
The reason you cannot send emails is that Windows does not have a mail server installed by default like a *nix system. If you want to send emails you have to install some sort of email server that PHP can pass emails to.
There are a number that you can use :
I prefer hMailServer but it is a little complicated to configure unless you understand a bit about mail servers
Alternatively you could try fake Sendmail for windows

IIS sending mail

I have succefully setup my ASP app to be drop the email to a maildrop box designated by the ISS. I can see the email in the folder which I have specified. This is what I have specified in my IIS management settings:
E-mail address: administrator#aspdotnet-suresh.com
Store e-mail in pickup directory: C:\temp\maildrop
Will this send an email to my account specified in the app? This is a password reset system and the email document inside the folder has the correct to and from address but I don't know how to install the actual SMTP server and not sure if the IIS Manager will make it happen by dropping it in this folder?
Sorry, I am new to this stuff
If you want the email delivered, you want to use an SMTP relay [of some sort]. Placing it in the maildrop assumes that there is some other protocol which is going to be used to retreive it from that maildrop (ie. POP3).
If you want to talk about how to configure IIS and SMTP, your question will probably get better results on www.serverfault.com.

Mount WebDAV share on Windows programmatically and show login dialog only if required

I need to mount WebDAV share programmatically on Windows. I do not know the user credentials, each user has its own login/password. Some servers allow anonymous access.
How do I mount WebDAV and present login dialog only if requested by server?
I need exactly the same behavior as Add Network Location Wizard. Are there any chance to call the same Windows API Add Network Location is using?

Resources