I am trying to install magento from webserver to my localhost. In my localhost magento should stay in a folder as in xampp
htdocs/xxx/web/....
I have copied the database fine. I have copied all the files,, chaged the local.xml file for database etc..
Now when loaded ,I notice that the js/images/cs files in the source code are refercing from root rather than the folder web.. as in
<link rel="stylesheet" type="text/css" href="http://127.0.0.1:9000/prototype/windows/themes/default.css">
whish is definitely wrong.. All links in the source are wrong :( Any help please
I only see 2 ways
1 - you configure your xampp with wamp or subdomain, and the store will be accessed have to change in system / configuration / web url
2 - creates a folder with the name of the subdomain within the magento folder, copy the index.php and paste it in and then change the calls index.php, and the store will be accessed have to change in system / configuration / web url
Related
I have my website with structure of
mywebsite
index.php
index_admin.php
By rewriting though .htaccess
www.mywebsite.com/home/main --converts--> mywebsite/index.php
www.mywebsite.com/home/admin --converts--> mywebsite/index_admin.php
this is working (hosted)
Now I tried it to run on localhost for dev purpose using XAMPP Linux
url
localhost/mywebsite/index.php launched but when logined and navigate to url /home/admin it become localhost/home/admin which does not found. I want it to become /localhost/mywebsite/home/admin so that correctly navigate to index_admin.php file
I have installed Xenforo in my public_html in my Cpanel which means my forum is available in site.com
Now I want to add another folder contains my web app and want to access it in site.com/myapp. I created a folder "myapp" in public_htmll beside Xenforo files and now when I enter the URL site.com/myapp it goes to a 404 page of the forum. I need to Xenforo exclude this folder and let the app lunch in this address. How can I do that?
You should move your XenForo installation to a subdirectory - many people use site.com/community as the forum root and either have a separate home page at site.com/ or just redirect the domain root to the /community URL.
This then allows you to have other apps running in other subdirectories like site.com/myapp without issue.
In XenForo 2.x this works fine, If you have enabled full Seo friendly urls from admin panel, Make sure you have proper .htaccess file in place. In you case, I believe you did not upload .htaccess file in public_html folder
So I'm deploying a website on my local dev machine. I created an application inside Default Web Site. I can hit it with localhost/myapp and it loads index.html. However, all the links (css, js etc) on index.html are calling localhost/whatever.css. It's cutting off the /myapp bit. Is there something I need to add to web.config?
FYI, I'm running Win10. Site created with VS2015. ASPNet5 app.
In your index.html file you would have linked those whatever.css files using absolute path which starts with / - forward slash, like /whatever.css
<link rel="stylesheet" href="/whatever.css">
remove those forward slash for it to look like whatever.css.
<link rel="stylesheet" href="whatever.css">
This will fix the errors.
I am trying to set me local project which works perfectly well on a host server (always data).
I made a project folder on the root (/project) of server where I uploaded all my files
I copied public folder into /www
Exactly how explained on this tutorial :https://medium.com/laravel-news/the-simple-guide-to-deploy-laravel-5-application-on-shared-hosting-1a8d0aee923e
First pages load perfectly, but when I am trying to connect with my api, the redirect URL returns a 403 Forbidden error
My redirect url is htp://.......com/public/play
It works when it is localhost but not on my web server...
Should I put www/play as redirect URL?
Why can I access my view on first page but not after redirection from api?
Thank you very much for the help !
You are not may be copying the content of public folder in the www directory Like it said
Next step is to copy all contents inside the /project/public directory
to www/ directory. The easy example is that, with the fresh Laravel 5
installation application, the project/public/index.php should be
copied to the www/index.php , have you got the point?
and you did
I copied public folder into /www
I am new to magento, I have worked on VirtueMart for joomla for a year now and I noticed it has no multistore ability until a friend introduced me to magento. I have succesfully installed magento(1.7.0.2) into WAMP 2.2 (PHP v5.3.13) on my Windows7.
I succesfully created root categories just as directed here: http://www.templatemonster.com/help/magento-how-to-set-up-and-manage-multiple-stores.html but in my own case, I am using sub-directories (ie //domain/magento as main store and //domain/magento/crunchies as store2).
A root category was created at the backend for crunchies. I copied both index.php and htaccess from magento folder (c:/wamp/www/magento) to crunchies folder (c:/wamp/www/magento/crunchise).on the crunchies' copy of index.php, $mageFilenam =‘app/Mage.php’; I change it to $mageFilename=‘../app/Mage.php’;
And saved changes, I also open up the copied htaccess file and added the following to the end of it:
SetEnvIf Host.*MainWebsite.*MAGE_RUN_CODE= base";
SetEnvIfHost .*www.crunchies.com.*MAGE_RUN_TYPE="cruncies_code";
Where website names created at System>manage store of backend are: Main Website(for main store) and www.crunchies.com (for store2).
When I point to domain/magento on my browser, it shows home page but when I point to domain/magento/crunchies, I get :\"mydirectery"../app/Mage.php was not found.
Please how do I solve this issue? Is there any other setting I'm missing out in my wamp config?