configuration,typo3,typo3-6.2.x , How to access two TYPO3 root folders one with “localhost ” and other with “IP Address”


How to access two TYPO3 root folders one with “localhost ” and other with “IP Address”

Question:

Tag: configuration,typo3,typo3-6.2.x

I need to access two root folders (shown below) one with localhost as starting url and other with IP address as starting url. How can I configure it?

Tree Image

I have added Domain for rootpage as shown below. But dosen't work Domain name given in root

I am using TYPO3 v6.2 Thanks in advance


Answer:

Add a domain record to each root, the first one with domain 'localhost', the second one with the IP address as domain. If both hostnames are routed correctly, that should do it.


Related:


How do you configure SQL Session State in ASP.NET 5.0 (vNext) MVC 6? [closed]


sql-server,configuration,session-state,asp.net-5,asp.net-mvc-6
In Visual Studio 2015 RC, ASP.NET 5 vNext, i am trying to use SQL Session State in MVC 6. I'm not sure how to go about it. Can anyone show me a sample or give me some tips? I'm just trying out Azure Load Balancer. I set up a load...

Typoscript add class to the first element using stdWrap


typo3,typoscript,typo3-6.2.x
I have a custom requirement to display an image slider using TypoScript. The images are taken from default tt_content image content element. I've added the following TypoScript code to implement this; lib.homeslider = COA lib.homeslider { 10 = CONTENT 10 { table = tt_content select { where = colPos =...

TYPO3 Solr extension and facets


solr,typo3,typoscript,typo3-6.2.x
I have a small question about TYPO3 solr facets.At present in my website I have 6 different indexing configuration available. Two of them are custom extension table's and one is tt_news and rest of the 3 are pages table with some custom condition. I managed to add this using additionalWhereClause...

How to handle Propel environment variables


php,variables,orm,configuration,propel
I am trying to setup some configuration for unit-testing my application. Therefore I will need to setup different database connections. I have tried to follow the documentation (Environment Variables Doc) but I don't understand where to save the environment variables so they can be found when I have something like:...

How to get all sections of a specific type


c#,configuration
Let's say I have the following in my config: <configSections> <section name="interestingThings" type="Test.InterestingThingsSection, Test" /> <section name="moreInterestingThings" type="Test.InterestingThingsSection, Test" /> </configSections> <interestingThings> <add name="Thing1" value="Seuss" /> </interestingThings> <moreInterestingThings> <add name="Thing2" value="Seuss" /> </moreInterestingThings> If I want to get either section, I can get them by name pretty easily:...

Eclipse for Java shows Multiple Errors


java,eclipse,configuration,version
This is my current configuration: Eclipse IDE for Java Developers Luna Service Release 2 (4.4.2) Java Version 8 Update 45 Build 1.8.0_45-b15 After a time without using some Java Project folders, now Eclipse throws a lot of syntaxis errors over them: The import javafx cannot be resolved *** cannot be...

How to change the default author in PhpStorm for PHPDoc


configuration,phpstorm,phpdoc
I search for a moment a way to change the name and mail used by PHPDoc in PhpStorm when you use the "autocomplete" by pressing Enter after typing /** just before a class or a function. Example : /** * Class DepartmentType * * @author Foo Bar <[email protected]> */ class...

TYPO3-Upgrade 4.5 to 6.2: namespaces


namespaces,typo3,typo3-6.2.x
I'm updating an old TYPO3 to latest verison 6.2.12. As I do so I replace deprecated classes with the proper namespaces. E.g. t3lib_div to \TYPO3\CMS\Core\Utility\GeneralUtility or t3lib_extmgm to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility. But I cant find the proper namespaced class for t3lib_svbase. Any suggestions? . And I absolutely have no clue what I...

Understanding Grizzly 1.9.36 internals


configuration,glassfish-3,grizzly
I enabled the "SNOOP" configuration (under Transports -> tcp) on the admin webpage to see what grizzly is doing under the hood. As soon as I applied the changes, the below was printed in server.log . From the log, I fail to understand why Grizzly initializes it configuration again on...

Hide typo3 content elements for specific user(groups)


typo3,typoscript
I want to "hide/deactivate" the table element for specific users/usergroups in the typo3 BE. Or to be more clear: I want to ONLY allow it to ONE specific user (admin). How can i do that? NOTE: At the moment the table element is deactivated in the global TS-config via tt_content...

How to set Symfony 2 slave database config in php


php,mysql,symfony2,configuration,doctrine2
I have a Symfony 2.7 application with Doctrine. I am trying to setup slave databases. We use lockerbox to manage our server configs. We use Constants to keep all database configuration, ex: <?php define('DB_MASTER_HOST', 'localhost'); define('DB_MASTER_USER', 'user'); define('DB_MASTER_PASS', 'password'); define('DB_MASTER_NAME', 'db_name'); define('DB_SLAVE_ENABLED', FALSE); define('DB_SLAVE_HOST', 'server-1,server-2'); define('DB_SLAVE_USER', 'username1,username2'); define('DB_SLAVE_PASS', 'password1,password2'); define('DB_SLAVE_NAME',...

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)


typo3,sitemap,typo3-6.2.x
I try to let typo3 generate a sitemap for all the news records. For that I tried the dd_googlesitemap_dmf extention. The dd_googlesitemap works (it creates a sitemap for all the typo3 pages - but not for extensions). I filled in the basic infos into the configuration and called the url...

how to configure eclipse(pydev) to run with external executable


python,eclipse,configuration,executable,pydev
I have a test framework where all my tests have to be kicked off using a particular executable(say M). All my tests are written in python(I have eclipse configured with pydev) . Currently I run my tests are run thru cmdline like: $ M -test <test_file_name>.<testcase_name> How do I configure...

How do I turn sendfile off in a docker instance


linux,nginx,configuration,docker,sendfile
I have a nginx docker instance running. In the docker instance there is a file called /etc/nginx/nginx.conf It has the following settings http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" access_log /var/log/nginx/access.log main; sendfile on; .... } I run the docker instance by running with...

Tree configuration to turn on/off the features in java


java,configuration,configuration-files
I have many features in Tree format and want to control the using configuration. Assume below tree, each node is one feature A --- root A1 & A2 --- are child of A A1a, A1b and A1c --- are child of A1 A2a, A2b and A2c --- are child of...

Akka default vs runtime configuration


configuration,akka
I read the Akka v2.3.11 docs (Java, not Scala) and am still a bit confused about how configuration works. In section 2.9.2 ("Akka and JAR bundling") it states: Akka’s configuration approach relies heavily on the notion of every module/jar having its own reference.conf file, all of these will be discovered...

log4j2 equivalent for log4j.defaultInitOverride


configuration,log4j2
Is there any way to tell log4j2 not to automatically load the log4j.configurationFile? It was possible with log4j1 with "log4j.defaultInitOverride"...

Router with DDNS, unable to update ip in noip


configuration,dns,ip,router
I have a D-Link DWR-512 router, which i need to create a dynamic dns, so i can access to the router throught the dns instead of the ip. The router is only connected to solar inverter panels, so i can't use the noIp dynamic update client software to update the...

Replace URLs in Typo3 DB


mysql,database,typo3
So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. www.example.org I created a Subdomain and linked it to the same folder and used the Main Domain for something else. But now everything on the Subdomain still...

How to disable cache for a image carousel in TYPO3


caching,typo3,typoscript,extbase,typo3-6.2.x
My TYPO3 extension has a lib that generates random 5 images from the total stock, for example out of the 100 images. This is done randomly every time the page is loaded. Only default the TYPO3 cache is enabled so every time the same 5 images are showed. As the...

how to reinitialize log4j2 configuration?


configuration,log4j2
After an initial configuration of log4j2 with: Configurator.initialize(null, configLocation); I would like to reinitialize it with a different URL Configurator.initialize(null, configLocation2); The problem is that the second call is ignored. I believe that once the LoggerContext is STARTED it will ignore reconfigurations. Is there a way to do this? ...

How do I access the service provider when registering using typescript class


angularjs,configuration,typescript,service-provider,typescript1.5
The following service provider registers successfully. Other controllers can use the service without trouble. My question is how to access the provider in order to configure it before the service is instantiated by the $injector service? module apiService{ export interface IBaseService{ leagueID: number; } export interface IApiBaseServiceProvider extends ng.IServiceProvider{ setLeagueID(leagueID:...

PyCharm automatically change script


python,configuration,pycharm
In PyCharm, is there a way to automatically change the script in Run/Debug Configurations to the file I am currently editing? Currently, when I create a new file, I manually edit the Script in Configurations to the one I want to run.

How to get typo3 settings in the utility files?


php,typo3,fluid,extbase
plugin.tx_xxx { setting { storagePid = 23 } } I want this typo3 settings in utility file. Please help me....

Apache won't serve pages on my Raspberry Pi


php,apache,configuration,installation,raspberry-pi
I've installed PHP 5.6 on my Raspberry Pi (from the Jessie repo), as well as Apache2. When I access http://192.168.2.50/ (the Pi's IP-address) it's not serving the index.php or index.html file in ~/var/www/. Just an hour ago I was running PHP 5.4 from the Wheezy repo, this was working fine....

htaccess and authentication for multiple domains


.htaccess,typo3
I am running a mutlisite TYPO3-Site. For the pre-live process, I want to add a htaccess with a htpasswd for 3 / 4 sites. How can I configure the htaccess-file to trigger the authentication only for specific urls? For example: http://example.org shouldn't get a password-protection, while http://example2.org should. Both sites...

Could not install rpy2 correctly


python,c,r,configuration,rpy2
I try to install rpy2 on my computer with R 3.1.1 using the command: pip install rpy2 --user It output success, but when I try to test it using python -m rpy2.tests It give me the following error File "/mnt/work1/software/python/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/mnt/work1/software/python/2.7/lib/python2.7/runpy.py",...

Spring: @NestedConfigurationProperty List in @ConfigurationProperties


spring,properties,configuration,spring-boot
Hi I am trying to get the following configuration up and running. @ConfigurationProperties(prefix="my") public class Config { @NestedConfigurationProperty private List<ServerConfiguration> servers = new ArrayList<ServerConfiguration>(); public List<ServerConfiguration> getServers() { return this.servers; } } @ConfigurationProperties(prefix = "server") public class ServerConfiguration { private String name; private String description; } So, I want to...

why spring 4 recommend annotation rather than configuration file? [closed]


java,spring,configuration,annotations
Recently I'm learning the spring framework of java. I am curious that why spring 4 recommend annotation to set up spring rather using configuration file? Some people said that the spring configuration file is too complicated. But I think using annotation is going to the opposite direction of purpose of...

Why is my custom php.ini file not loaded site wide while placed in /public_hml? [duplicate]


php,configuration,scope,ini,public-html
This question already has an answer here: Custom php.ini per-directory (for testing sites) 2 answers I created a custom php.ini ... it's located in /public_html. Shouldn't it be valid and used for the whole site and directories under public_html ? It seems not to be loaded e.g. in /public_html/cms/usr...

Nginx: setting the error page to a static file


nginx,configuration,system
I have the following nginx configuration: server { listen 80; server_name default; location / { proxy_set_header Host $host; proxy_pass http://127.0.0.1:8080/; } } When the internal service at http://127.0.0.1:8080/ is not responding nginx return a 502 Bad Gatway error. My question: how can I configure nginx to returning a static html...

What does the dot mean in Symfony service names?


symfony2,service,configuration,yaml
Look at this documentation page, for instance. Several service names are dotted, and I wanted to know if it means we are searching an object's method or if it is nothing. Note I am talking about service names in YAML format....

Chef Configuration Constructs by Example


configuration,chef
I am trying to wrap my head around Chef and its many configuration constructs: So we have: Nodes Run Lists Roles Recipes Attributes Environments Cookbooks Templates and even 1 more thing not on that diagram: Data Bags This is a bit overwhelming. After reading pretty deep into the Chef docs,...

tt_news single view with static news_id


typo3,tt-news
I am using Typo3 Version 6.2 with the plugin tt_news. All I want to do is: Have a simple page on my website On that page I want to have a tt_news single view the news_id of this view should be static (set by me) and NOT by GET variables...

Where are TYPO3 constants from constant editor stored?


typo3,constants
In Typo3 Backend -> Template -> Constants there is a constant editor. Where does TYPO3 saving the constants? Tried an fgrep -ri for an existing pattern, in case of saving to filesystem - no matches. Tried an MySQL search for an existing pattern, in case of saving to DB -...

How to stop visual studio generate typescript js and js.map files while publishing


visual-studio-2013,configuration,typescript,publishing
I set up my project that combine javascript output into file to $(ProjectDir)dist\output.js and uncheck generate source maps. Tools -> Options -> Text Editor -> Typescript -> Project -> Automatically compile Typescript files which are not part of a project is unchecked as well. While building and running project from...

File url [tmp_name] after upload via Typo3 backend


typo3,fluid
I'm building a typo3 extension and in a backend plugin I want to build a image upload form. I seem not to get the correct $_Files url. The following fluid form is used: <f:form action="customerSliderImages" id="customerSliderImages"> <f:form.upload name="custSlider[sliderimage]" /> <f:form.submit value="Upload" /> </f:form> I want to have the [name] and...

How to programmatically access Mongoid's config?


ruby-on-rails,configuration,mongoid
Specifically, I want to read the hosts value of the current Mongoid config. Is that possible? I'm using Mongoid with Ruby on Rails....

How to use Hook “processDatamap_postProcFieldArray” in TYPO3 6.x


php,typo3,extbase,typo3-6.2.x
Use case: When saving an object (in backend, maybe in frontend too later) I want to manipulate values before saving to database. Problem: The file seems to get included (shows an error on save if I choose a wrong file path) but the function does not seem to be executed...

How to assign variable in fluid?


typo3,fluid,view-helpers
I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.

asm version compatible with hibernate 4.3.1


java,spring,hibernate,configuration,java-bytecode-asm
I've been working on a project and using hibernate 4.3.1. an error popped up and after searching for what it means, i found out that its caused by incompatible versions between hibernate and asm. what version of asm is compatible with hibernate 4.3.1?

How to get Query object to felogin repository?


typo3,typo3-6.1.x
i need Query object of TYPO3\CMS\Felogin\Controller\FrontendLoginController in my extention repository so i can create my own query conditions.

How to manage configuration data in large projects?


configuration
As software projects grow they inevitably pile up a lot of configuration data. Each new module, library or framework can have some. Data can have many form such as XML, properties etc. But they usually can be located at in-code defined places. Is there any good practice saying how the...

All CPAN mirrors are not working in CPAN configuration?


perl,configuration,centos6,cpan
I am trying to install CPAN and configure it on Centos 6. I am getting this message in configuration: CPAN.pm requires configuration, but most of it can be done automatically. If you answer 'no' below, you will enter an interactive dialog for each configuration option instead. Would you like to...

Language detection not working in Typo3 6.2.12


typo3,typoscript,typo3-6.2.x,language-detection
I've a website which has 2 languages: German (de) as default and English (en) as translated. I am trying to implement language detection functionality in the website using the extension "rlmp_language_detection" version 7.0.0. What I want to achieve is, for the countries Austria (at), Switzerland (ch) and Germany (de), the...

How to check if log4j2 has been configured or not


configuration,log4j2
We're all familiar with this message when you don't provide a configuration for log4j2: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. How can I check if log4j2 is not yet configured so that I can initialize with a default configuration if...

How does my frontend usergroup list get lost between Extbase action controller and Fluid template partial in TYPO3 6.2?


typo3,fluid,extbase,typo3-6.2.x,typo3-extensions
I'm using TYPO3 CMS 6.2.12 and Extension Builder 6.2.0 to model a Report class and build an extension to manage it. One of the domain driven design requirements is that a report author be a logged-in front end user. A second requirement is that the author choose a single group...

Progress messages not appearing with cabal install for some users


haskell,configuration,ghc,cabal,cabal-install
I'm working on a team project using Haskell and whenever I compile our project using 'cabal install' I start seeing the following: $ cabal clean && cabal install cleaning... Resolving dependencies... Configuring hackathon-0.1... Building hackathon-0.1... Preprocessing executable 'hackathon' for hackathon-0.1... [ 1 of 65] Compiling Data.MaybeUtil ( src/Data/MaybeUtil.hs, dist/dist-sandbox-52369b17/build/hackathon/hackathon-tmp/Data/MaybeUtil.o )...

Typo3 6.2: “Could not find a suitable type converter for ”String“ ” exeption after update


php,typo3,typo3-6.2.x
Typo3 was from a very old version updated to Typo3 6.2. The most things are working now, but I have one own written extension that give me the following error: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "":Could not find a suitable...

What is the correct way to use app.config for my plugin when using MEF?


c#,configuration,app-config,mef
So I have my host program that is going to load in my plugins using a MEF DirectoryCatalogue So currently I have: Host.exe and Plugin1.dll Plugin1.dll has a config setting set in its own config (Plugin1.dll.Config): <applicationSettings> <Plugin1.Settings> <setting name="MyString" serializeAs="String"> <value>Hello</value> </setting> </Plugin1.Settings> </applicationSettings> Which is accessed in Plugin1...