• Register
Plug-in Tutorial Build an EC-CUBE plug-in

Top Commentators

114

1

EC Mike

SHOGUNSHOGUN

32

2

hrbabu

SAMURAISAMURAI

29

3

Sumant Jha

SAMURAISAMURAI

29

4

justcubed

SAMURAISAMURAI

21

5

Ashok Kafle

SAMURAISAMURAI

21

6

shahith

SAMURAISAMURAI

14

7

Jeemusu

KABUKIKABUKI

14

8

Yangsin

KABUKIKABUKI

9

9

Zaw Hlaing Bwar

GEISYAGEISYA

8

10

Fei Liu

GEISYAGEISYA

Ranking Key

  • FUJISANFUJISAN1,000+ posts
  • SAKURASAKURA500+ posts
  • SHOGUNSHOGUN100+ posts
  • NINJYANINJYA50+ posts
  • SAMURAISAMURAI20+ posts
  • KABUKIKABUKI10+ posts
  • GEISYAGEISYALess than 10 posts

how to remove html in URL

0 votes
Hi all,

My web in local is http://localhost/ec-cube/html/ how can I modify to http://localhost/ec-cube/ ?

 

Thanks
asked 2014-10-22 by tinatran (130 points) GEISYAGEISYA

1 Answer

+1 vote

there are 2 option for you:

The first :

          set up your virtual host point the Document root path to  " your project folder "/html 

This is my virtual config

<VirtualHost *:80>
   ServerAdmin webmaster@eccube.dv
   DocumentRoot "/Applications/MAMP/htdocs/eccube/html"
   <Directory "/Applications/MAMP/htdocs/eccube/html">
    Options All
    AllowOverride All
    Order allow,deny
    Allow from all
   </Directory>
   ServerName eccube.dv
   ServerAlias eccube.dv
   ErrorLog "/Applications/MAMP/htdocs/eccubelog"
   CustomLog "/Applications/MAMP/htdocs/eccubelog" common
</VirtualHost>
 
The second you can use .htaccess like this topic 
 
 
answered 2014-11-26 by quochao (310 points) GEISYAGEISYA
Yes, but we config in host Gator then we will?
...