I have htdocs/myproject/web folder but I cannot access that web folder, i can access all others folders inside htdocs/myproject/. It doesn't show when I open localhost in web browser and it shows folder structre. Other folders are showing, where could be problem ? .. This project is downloaded from SVN.
You could check if there is a .htaccess file in the directory where indexing is disabled (for example Options -Indexes).
Related
I added a new php file to directory with my theme. But, I am unable to see it on the internet.
When I edit a working file from same directory, it works.
Moreover, I added a new page from wordpress dashboard. I do not see the corresponding file on cpanel.
I think there might be a problem with authorization.
The default permission scheme should be:
Folders - 755
Files - 644
I recently installed symfony2 its running on xampp the .htaccess in the /symfony/web folder hides the whole web folder and return a 500 error . i tried deleting the .htaccess in symfony web folder then it shows the folder back in the browser. can you please help me with this please
I have a live site, example.com and when i have pulled it off to a local enviroment using wampserver i am having some issues
on the live site everything works ok and if I click on a link it will resolve properly
example.com/offices
However on the localcopy because I have other sites in the www folder(as subfolders) I have to access it by
127.0.0.1:8888/example/
and when I click on the same link on the local website it will go to
127.0.0.1:8888/offices/
instead of
127.0.0.1:8888/example/offices/
And the same goes with images as the are all looking for folders in the root rather than the subfolder (www/example)
I have tried using virtual hosts and couldn't get it to work
is there a rule I can put in the htaccess or would I need a seperate install of wamp so it all resides in the www folder?
Hey guys I have one folder which I like to keep my backups in its on my Desktop. I use it to backup to the Cloud etc.
My XAMPP site is in c:/xampp/htdocs/mysite
What I want is to have that mysite folder inside my Desktop folder so i can backup it one push /w all my other stuff, I could move the whole XAMPP directory into my Desktop folder but then i need to setup transfer filters so I don't backup all the necessary XAMPP folders .etc
Is this possible?
Open the httpd.conf file of your apache server and find the settings related to this variable "DocumentRoot".
You will find it similar to this.
DocumentRoot "D:/wamp/www/"
Then replace the current folder path with the path to the folder you needed as the new document root and restart the server.
I am using Apache server. Usually when I want to start a new website project, I created a new folder inside my server directory and inside that folder I would have 'index.html or index.php'. When I direct my localhost URL to that folder, it would open it and automatically display index.php.
Now I am trying something new with this CakePHP framework. I finished setting it up, and when I direct my localhost URL to folder 'cakephp-cakephp' (folder containing all the cakePHP files), it then shows me this message:
Release Notes for CakePHP 2.0.0-dev.
Your tmp directory is writable.
The FileEngine is being used for caching. To change the config edit APP/config/core.php
Your database configuration file is present.
I think the next step here is to start the development by saving all my files to "app" folder. But the message is not gone even when I deleted the default index.php files from inside the folder 'cakephp-cakephp'. It seems anyway, the index.php files do not actually generate the message.
Does anybody know what file generates that release notes message? I want to delete that file so that I wont get the message (which I believe is triggered by some default file like 'index.php') when I access folder 'cakephp-cakephp', and then it will show me the file directory inside that folder instead, and I can traverse file directory easily using my browser and access my app folder, in which I am planning to store my index.php file, and save all my development files..
You cannot delete the index.php files and you usually don't modify those files unless you need to do some special configuration. Adding the file app/views/pages/home.ctp gets rid of that message and becomes your default home page.
Also, as stated in the comments, you should really read the manual and try the tutorial.
http://book.cakephp.org